NFS Services Administrator's Guide HP-UX 11i version 3

Configuration Files
Table 2-5 describes the NFS configuration files and their functions.
Table 2-5 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 2-6 describes the NFS client daemons and their functions.
Table 2-6 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” (Required)
“Enabling an NFS Client ” (Required)
“Mounting Remote Directories ” (Required)
“Changing the Default Mount Options” (Optional)
“Unmounting (Removing) a Mounted Directory” (Optional)
“Disabling NFS Client Capability” (Optional)
Configuring the NFSv4 Client Protocol Version
IMPORTANT: The nfsmapid daemon must be running on both the NFS server and the client
to use NFSv4. For more information on how to configure the NFSv4 server protocol version, see
“Configuring the NFSv4 Server Protocol Version ” (page 22).
By default, the version of the NFS protocol used between the client and the server is the highest
one available on both systems. On HP-UX 11i v3, the default maximum protocol version of the
NFS server and client is 3. The default minimum protocol version of the NFS server and client
is 2.
To configure the NFS client to enable it to mount filesystems using protocol version 4 (NFSv4),
follow this step:
Set the value of the NFS_CLIENT_VERSMAX variable to 4 in the /etc/default/nfs file, as
follows:
NFS_CLIENT_VERSMAX = 4
The NFS_CLIENT_VERSMAX variable specifies the maximum version of the NFS protocol for
communication.
You can also configure the client protocol version to NFSv4 by specifying vers=4 while mounting
the directory. For example, to set the client protocol version to NFSv4 while mounting the /usr/
kc directory, enter the following command:
mount -o vers=4 serv:/usr/kc /usr/kc
Configuring and Administering NFS Clients 35