56.1 NFS Setup
Suppose alpine is the host of the home directories that are exported to cultus. 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.
On alpine 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:
Then restart the daemon:
On velox, 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:
However, nfs-kernel-server is used on prefect which are running kernel 2.4.9 and alpine, 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:
Now on cultus add the following line to /etc/fstab
:
Then on cultus you can:
You should also maintain common passwd, shadow, group and gshadow files between the various hosts. See Section ?? below for details.
Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0