NFS

From Secure Computing Wiki
Jump to: navigation, search

When our data center had a major power failure today, NFS didn't want to play nice. When trying a 'showmount -e <hostname>' from either the NFS server or a client, I'd get the following error:

RPC: Program not registered
showmount: can't do exports rpc

The process to fix this was fairly straight-forward:

# killall -9 mountd
# /etc/rc.d/nfsd stop
# /etc/rc.d/rpcbind stop
# /etc/rc.d/rpcbind start
# /etc/rc.d/nfsd start
Starting mountd.
Starting nfsd.

All was well with the world.