NFS Services Administrator Guide for 11i v3 (5900-2572, September 2012)
unshareall -F nfs
2. Enter the following command to disable NFS server capability:
/sbin/init.d/nfs.server stop
3. On the NFS server, edit the /etc/rc.config.d/nfsconf file to set the NFS_SERVER
variable to 0, as follows:
NFS_SERVER=0
This prevents the NFS server daemons from starting when the system reboots.
For more information about forced unmount, unmounting and unsharing, see mount_nfs (1M),
unshare(1M), and umount(1M).
Configuring and Administering NFS Clients
An NFS client is a system that mounts remote directories using NFS. When a client mounts a remote
filesystem, it does not make a copy of the filesystem. The mounting process uses a series of remote
procedure calls that enable the client to transparently access the filesystem on the server’s disk. To
users, these mounted remote directories appear as if they are a part of the local filesystem. An
NFS client can also be an NFS server. NFS filesystems can also be automounted using AutoFS.
For information on how to automount a filesystem, see Chapter 3: “Configuring and Administering
AutoFS” (page 47).
NFS Client Configuration Files and Daemons
This section describes the NFS client configuration files and daemons.
Configuration Files
Table 6 describes the NFS configuration files and their functions.
Table 6 NFS client configuration files
FunctionFile Name
Contains the list of filesystems that are currently mounted./etc/mnttab
Contains the default distributed filesystem type./etc/dfs/fstypes
Contains the list of filesystems that are automatically mounted at system boot time./etc/fstab
Daemons
Table 7 describes the NFS client daemons and their functions.
Table 7 NFS client daemons
FunctionDaemon Name
Supports record lock and share lock operations on the NFS files.rpc.lockd
Maintains a list of clients that have performed the file locking operation over NFS
against the server. These clients are monitored and notified in the event of a system
crash.
rpc.statd
Following are the tasks involved in configuring and administering an NFS client.
• Configuring the NFSv4 Client Protocol Version (Optional)
• “Deciding Between Standard-Mounted Directories and Automounted Directories” (page 34)
(Required)
• “Enabling an NFS Client ” (page 35) (Required)
• “Mounting Remote Directories ” (page 35) (Required)
• “Changing the Default Mount Options” (page 38) (Optional)
Configuring and Administering NFS Clients 33