ubuntu16.04LTS にてmount.nfsで以下のエラーが出る際の解決策について備忘録です
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
rpc.statdが起動していないようなメッセージが出る。
statd - システム管理コマンドの説明 - Linux コマンド集 一覧表
rpc.statd は NFS ファイルロックサービスrpc.lockd が利用するもので、 NFS サーバマシンがクラッシュして復帰したときに、 ロックを回復するために用いられる。
rpc.statdを起動して解決
$ sudo service rpcbind start
参考
mount.nfs: rpc.statd is not running but is required for remote locking.のエラーの対処法
Fixing rpc.statd is not running but is required for remote locking
CentOS6でのNFSマウントでエラー
statd - システム管理コマンドの説明 - Linux コマンド集 一覧表