Go to TogaWare.com Home Page. GNU/Linux Desktop Survival Guide
by Graham Williams
Duck Duck Go



CLICK HERE TO VISIT THE UPDATED SURVIVAL GUIDE

Setting Up NFS

Suppose Alpine (39.46) is the host of the home directories that are exported to Cultus (39.45). On Alpine install nfs-server. This will install nfs-kernel-server and nfs-common. The server provides the ability to export a local disk to other computers whilst the client is provided in nfs-common and allows our computer to access (i.e., to mount) the disk storage exported from other computers.

alpine$ wajig install nfs-server

On Alpine (39.46) we then identify the folder that we wish to exort, and to whom to export. We edit /etc/exports to add lines like the following:

/home cultus(rw)

Then restart the daemon:

alpine$ wajig restart nfs-kernel-server

On Velox (39.52), 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
However, nfs-kernel-server is used on Prefect (39.43) which are running kernel 2.4.9 and Alpine (39.46), running 2.4.16.

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 (39.45) add the following line to /etc/fstab:

  alpine:/home /home nfs defaults 0 0

Then on Cultus (39.45) you can:

  cultus$ mount /home

You should also maintain common passwd, shadow, group and gshadow files between the various hosts. See Section 67.1 below for details.


Support further development by purchasing the PDF version of the book.
Other online resources include the Data Science Desktop Survival Guide.
Books available on Amazon include Data Mining with Rattle and Essentials of Data Science.
Popular open source software includes rattle and wajig.
Hosted by Togaware, a pioneer of free and open source software since 1984.
Copyright © Togaware Pty Ltd. . Creative Commons ShareAlike V4.