![]() |
![]() ![]() GNU/Linux Desktop Survival Guide by Graham Williams |
![]() |
|||
Suppose Altrop (98.24) is the host of the home directories that are exported to Cultus (98.23). On Altrop install nfs-kernel-server:
altrop$ wajig install nfs-kernel-server |
Then edit /etc/exports to add the following line:
/home cultus(rw) |
Then restart the daemon:
altrop$ wajig restart nfs-kernel-server |
On Velox (98.30), an earlier install, nfs-user-server
was
used rather than the usual nfs-kernel-server
because the
latter gave the following error when starting the daemons:
nfssvc: Function not implemented |
Errors will also be reported if you have not loaded the nfsd module into the kernel. Be sure to add the following to /etc/modules if you get errors:
nfs nfsd |
Now on Cultus (98.23) add the following line to /etc/fstab:
altrop:/home /home nfs defaults 0 0 |
Then on Cultus (98.23) you can:
cultus$ mount /home |
You should also maintain common passwd, shadow, group and gshadow files between the various hosts. See Section 71.1 below for details.