I have a machine A NFS mounted on machine B
I am doing a build from machine B on the MFS mounted dir of machine A but I keep getting the following:
NFS server A not responding still trying.
I go to machine A and can log onto machine A and everything seems fine.
How do I go about finding... (6 Replies)
Hi,
I've got a really old system we use for call logging. The OS is SCO 3.2
uname -a output
SCO_SV bts7053 3.2 2 i386
the problem we are having is that its no longer doing its backups. The original problem was the tape drive, which has been replaced twice now. Because the company are... (1 Reply)
Ok, so I have an nfs mount setup and within it there are symbolic links to other directories and such.
So anyways I created a link to a directory like so
ln -s /var/stuff/more/stuff/here/ stuff/
and i ended up with directory stuff with link 'here' inside.
so i was pieved and decided... (1 Reply)
I am having a really bad day today.
I am trying to get an nfs mount to work. I want to have a mount from machinea:/home going to /home on machineb. I can mount machinea:/home on any mount point EXCEPT /home and see the files. I can not see the files or list the directory (it hangs) when I mount... (17 Replies)
I am trying to set up an OpenSolaris box to be an NFS server.
The OpenSolaris version is 2008.11.
The kernel (uname -a output) is: SunOS minime-28 5.11 snv_101b i86pc i386 i86pc
It is running ZFS but I know nothing about ZFS.
I have an entry in the /etc/dfs/dfstab file:
share -F... (1 Reply)
Hi everybody!
I have a very big problem, I can not make any updates on my debian lenny.
I get everytime this errors with apt-get update:
Err http://security.debian.org lenny/updates Release.gpg
Connection failed
Err http://www.backports.org lenny-backports Release.gpg
Connection... (2 Replies)
Hi,
I have two machines (AIX) each on a different VLAN.
Need to mount a filesystem using nfs on the other one.
When I export the nfs file system its a breeze. But when I try to mount it on the other machine the smitty command hangs on "running" and i get an OK from smitty but with this... (6 Replies)
Hi All,
I hoping someone can help me get my NFS working properly. I don't know why I'm having little issues... Overall, NFS is working, therefore, the problem may not be with NFS. I can ssh to remote nodes and view NFS shared directories (/home). Here is the problem, when on a node and I open a... (2 Replies)
Hi all,
i have some doubts in a situation that i fail to get an answer in Google.
I have a solaris 10 nfs server and 5 centos 6.0 nfs clients.
The problem/situation is that in the clients the free memory is "disappearing" along the time (passing to used)..and it gets free if i umount the... (5 Replies)
Discussion started by: blast
5 Replies
LEARN ABOUT CENTOS
pivot_root
PIVOT_ROOT(8) System Administration PIVOT_ROOT(8)NAME
pivot_root - change the root filesystem
SYNOPSIS
pivot_root new_root put_old
DESCRIPTION
pivot_root moves the root file system of the current process to the directory put_old and makes new_root the new root file system. Since
pivot_root(8) simply calls pivot_root(2), we refer to the man page of the latter for further details.
Note that, depending on the implementation of pivot_root, root and cwd of the caller may or may not change. The following is a sequence for
invoking pivot_root that works in either case, assuming that pivot_root and chroot are in the current PATH:
cd new_root
pivot_root . put_old
exec chroot . command
Note that chroot must be available under the old root and under the new root, because pivot_root may or may not have implicitly changed the
root directory of the shell.
Note that exec chroot changes the running executable, which is necessary if the old root directory should be unmounted afterwards. Also
note that standard input, output, and error may still point to a device on the old root file system, keeping it busy. They can easily be
changed when invoking chroot (see below; note the absence of leading slashes to make it work whether pivot_root has changed the shell's
root or not).
OPTIONS -V, --version
Output version information and exit.
-h, --help
Display help and exit.
EXAMPLES
Change the root file system to /dev/hda1 from an interactive shell:
mount /dev/hda1 /new-root
cd /new-root
pivot_root . old-root
exec chroot . sh <dev/console >dev/console 2>&1
umount /old-root
Mount the new root file system over NFS from 10.0.0.1:/my_root and run init:
ifconfig lo 127.0.0.1 up # for portmap
# configure Ethernet or such
portmap # for lockd (implicitly started by mount)
mount -o ro 10.0.0.1:/my_root /mnt
killall portmap # portmap keeps old root busy
cd /mnt
pivot_root . old_root
exec chroot . sh -c 'umount /old_root; exec /sbin/init'
<dev/console >dev/console 2>&1
SEE ALSO chroot(1), mount(8), pivot_root(2), switch_root(8), umount(8)AVAILABILITY
The pivot_root command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
util-linux August 2011 PIVOT_ROOT(8)