NFS Services Administrator's Guide (762805-001, March 2014)
Table 3 NFS Server Daemons (continued)
FunctionDaemon Name
Supports server side delegation.nfs4srvkd
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 server:
• Configuring the NFSv4 server protocol version (Optional)
• “Enabling an NFS server ” (page 21) (Required)
• “Sharing directories with NFS clients” (page 22) (Required)
• “Configuring an NFS server for use by a PC NFS client” (page 32) (Optional)
• “Unsharing (Removing) a shared directory” (page 33) (Optional)
• “Disabling the NFS server ” (page 34) (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:
ps -ae | grep rpcbind
If the daemon is running, an output similar to the following is displayed:
778 ? 0:04 rpcbind
No message is displayed if the daemon is not running.
To start the rpcbind daemon, enter the following command:
/sbin/init.d/nfs.core start
3. Enter the following commands to verify whether the lockd and statd daemons are running:
ps -ae | grep rpc.lockd
ps -ae | grep rpc.statd
If the daemons are running, an output similar to the following is displayed:
Configuring and administering an NFS server 21