NFS Client Networking  «Prev 

Sample NFS section of /etc/fstab file

homeserver:/home
appserver:/usr/X11R6/bin
homeserver:/projects/proj1
The first column gives the locations of the remote volumes to mount. homeserver holds a common home directory structure shared across the network. Similarly, the computer appserver supplies X Window System programs to the network. The last line mounts a project directory on homeserver for the user.

The second column gives the mount points. The directories given in this column must already exist for the volume to be mounted.

Each of these lines specify the mounting of NFS volumes. In this example, the filesystem type is nfs.

Each of these NFS volumes receives the options to both send and receive data in 1KB increments using the rsize and wsize commands.

/dv/hda5
/dev/hda1
/dev/cdrom
The last two columns contain all zeroes for these NFS volumes. This basically tells Linux to let the NFS server handle its own filesystem maintenance.