Job for rpc-statd.service failed. See ‘systemctl status rpc-statd.service’ and ‘journalctl -xn’ for details.

NFS client running Centos 7.1 fail to mount NFS share due to a failure of the rpc-statd service.
Error message :
Job for rpc-statd.service failed. See ‘systemctl status rpc-statd.service’ and ‘journalctl -xn’ for details.
mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use ‘-o nolock’ to keep locks local, or start statd.
mount.nfs: an incorrect mount option was specified

Make sure that the rpcbind service is enabled, up and running.

[fool@localhost:~]$ sudo systemctl enable rpcbind.service
[fool@localhost:~]$ sudo systemctl start rpcbind.service
[fool@localhost:~]$ sudo systemctl status rpcbind.service

To mount your NFS share :


[fool@localhost:~]$ sudo mount -t nfs -o vers=3 fqn_nfs_server:/path/nfsshare /mnt/share

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s