Installing Linux NFS


The Network File System (NFS) , originally developed by Sun Microsystems, allow directories and files to be shared across a network.


Mounting 

   attaching a remote directory to the local filesystem is called Mounting a directory

Exporting 

   offering to share a directory to the remote or for other terminals



List of daemons

 

amd 

  starts the automounter filesystem (automount) that automatically mounts file system when the files they contained are accessed

autofs 

   starts the automounter filesystem (automount) that automatically mounts files when they are needed and also dismount them when not needed any more

netfs 

   mount the NFS filesystem in the /etc/fstab file and also mount SMB filesystem

nfs 

   starts most of the NFS daemons.   

   it also processes the export file and clears the lock file

  

use a tool such as tksysv or chkconfig to enable the NFS startup script, so that NFS will re-start the next time the system reboots.


After the software is installed, and you have ensured that the scripts are enabled, enter service nfs start o manually start NFS:


  ex.:


   [root] $ service nfs start


check the process status to see if the necessary daemon are running:


  ex.: 


   [root] $ ps -Cnfsd