NFS Services Administrator's Guide (B.11.31.03) August 2008
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 29).
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
For more information on NFSv4, see nfsd(1m), mount_nfs(1m), nfsmapid(1m), and
nfs4cbd(1m).
Deciding Between Standard-Mounted Directories and Automounted Directories
Before you mount any remote directories on a local system, decide whether you want
each directory to be standard-mounted or automounted. You can automount directories
using AutoFS. For more information on AutoFS, see Chapter 3: “Configuring and
Administering AutoFS” (page 67).
Table 2-7 lists the differences between the Standard-Mounted and the Automounted
directories.
Configuring and Administering NFS Clients 49