Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Setting Up NFS


Suppose Alpine (101.25) is the host of the home directories that are exported to Cultus (101.24). On Alpine install nfs-kernel-server:



  alpine$ wajig install nfs-kernel-server

Then edit /etc/exports to add the following line:

  /home cultus(rw)

Then restart the daemon:

  alpine$ wajig restart nfs-kernel-server

On Velox (101.31), 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 (101.22) which are running kernel 2.4.9 and Alpine (101.25), 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 (101.24) add the following line to /etc/fstab:



  alpine:/home /home nfs defaults 0 0

Then on Cultus (101.24) you can:



  cultus$ mount /home

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

Copyright © 1995-2006 [email protected]

 
 
  Published under the terms fo the GNU General Public License Design by Interspire