NFS Services Administrator's Guide
Configuring and Administering NFS Services
Configuring and Administering an NFS Server
Chapter 248
Following are the tasks involved in configuring and administering an
NFS server:
• Configuring the NFSv4 Server Protocol Version (Optional)
• Enabling an NFS Server (Required)
• Sharing Directories with NFS Clients (Required)
• Configuring an NFS Server for use by a PC NFS client (Optional)
• Unsharing (Removing) a Shared Directory (Optional)
• Disabling the NFS Server (Optional)
Configuring the NFSv4 Server Protocol Version
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 the
client is 3. The default minimum protocol version of the NFS server and
the client is 2.
To configure the NFS server to enable clients to mount filesystems using
protocol version 4 (NFSv4), follow these steps:
1. Set the value of NFS_SERVER_VERSMAX variable to 4 in the
/etc/default/nfs file, as follows:
NFS_SERVER_VERSMAX=4
The NFS_SERVER_VERSMAX variable specifies the maximum protocol
version of the NFS protocol for communication. For more information on
NFSv4, see nfsd (1m), mount_nfs (1m), and nfsmapid (1m).
Enabling an NFS Server
To enable an NFS server, follow these steps:
1. In the /etc/rc.config.d/nfsconf file, ensure that the NFS_SERVER
and START_MOUNTD variables are set to 1:
NFS_SERVER=1
START_MOUNTD=1
2. Enter the following command to verify whether rpcbind daemon is
running: