Introducing Network File System Version 4 on HP-UX 11i v3
12
Enabling NFSv4 mounts on your HP-UX 11i v3 server
By default, NFSv4 mounts are disabled on HP-UX 11i v3 servers. If the server does not enable NFSv4
mounts, then attempting to mount generates the following error message.
Figure 10. mount command fails
To enable NFSv4 mounts, the NFS configuration file, /etc/default/nfs, must be modified on the
server. This file contains various configuration variables for NFS clients, NFS servers, and lock
manager.
To enable clients to mount your NFSv4 file system, change the value of NFS_SERVER_VERSMAX to 4
in the /etc/default/nfs file as in Figure 11 by executing the setoncenv(1M) command.
Figure 11. Enabling NFSv4 on a server
Restart the NFS server services on the server using the startup/shutdown script,
/sbin/init.d/nfs.server, with the stop and start parameters as in Figure 12.