NFS Services Administrator's Guide

Configuring and Administering NFS
Configuring and Administering an NFS Client
Chapter 2 45
Example NFS Mount of Home Directories
broccoli:/home/broccoli /home/broccoli nosuid 0 0
cauliflower:/home/cauliflower /home/cauliflower nosuid 0 0
This example mounts the home directories from NFS servers broccoli
and cauliflower on the local NFS client. The nosuid option prevents
programs with setuid permission from executing on the local client.
Figure 2-3 illustrates this example:
Figure 2-3 NFS Mount of Home Directories
To Enable NFS Client Capability
1. In the /etc/rc.config.d/nfsconf file, make sure the NFS_CLIENT
variable is set to 1, as follows:
NFS_CLIENT=1
2. Run the NFS startup script by issuing the following command:
/sbin/init.d/nfs.client start
Setting the NFS_CLIENT variable to 1 causes the NFS startup script to be
run whenever you reboot your system.
The NFS startup script starts the necessary NFS client daemons and
mounts the remote directories configured in the /etc/fstab file.
NFS server "cauliflower"
local NFS client
/
/home /etc/usr
/cauliflower
/
/home /etc/usr
/cauliflower
/broccoli
NFS server "broccoli"
/
/home /etc/usr
/broccoli
/sandra /wendie
/claudia /ann
/sandra /wendie
/claudia /ann