Step by step procedure to restart NFS services in HPUX. Follow this procedure with a given sequence to stop and start NFS gracefully.
Requirement :
To restart NFS server in HPUX
How to do it :
Please make a note that all exported NFS mount points will be unavailable to all clients during this restart.
Stop NFS
# /sbin/init.d/nfs.server stop
killing nfsd
killing rpc.mountd
# /sbin/init.d/nfs.client stop
killing nfs4cbd
# /sbin/init.d/nfs.core stop
killing nfsmapid
killing rpcbind
Read also :
Start NFS
# /sbin/init.d/nfs.core start
Starting NFS CORE networking
Starting up the rpcbind
/usr/sbin/rpcbind
# /sbin/init.d/nfs.client start
Starting NFS CLIENT subsystem
Starting up nfs4cbd daemon
/usr/sbin/nfs4cbd
Starting up nfsmapid daemon
/usr/sbin/nfsmapid
Mounting remote NFS file systems ...
Mounting remote CacheFS file systems ...
# /sbin/init.d/nfs.server start
Starting NFS SERVER subsystem
Reading in /etc/dfs/dfstab
Starting up the mount daemon
/usr/sbin/rpc.mountd
Starting up the NFS server daemon
/usr/sbin/nfsd
Starting up nfsmapid daemon
Make sure you follow the sequence while stopping and starting as mentioned above.