mount.nfs: rpc.statd is not running but is required for remote locking.のエラーの対処法

NASマウント時のエラー

NFSをマウントしようとした際に、以下のエラーでマウントできないことがあった。

# mount -t nfs -o tcp,soft,intr,timeo=10,retrans=10 192.168.134.6:/nas/svnbackup /nas/svnbackup
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

rpcbindを立ちあげれば良いなどの情報がネットには書かれてあるけど、rpcbindは起動中。/var/log/messagesには以下のエラーが出力されていました。

Aug 5 20:59:19 util01 rpc.statd[9265]: Version 1.2.3 starting
Aug 5 20:59:19 util01 rpc.statd[9265]: Flags: TI-RPC
Aug 5 20:59:19 util01 rpcbind: connect from 127.0.0.1 to getport/addr(status): request from unauthorized host

エラー対処法

unauthorized hostからのリクエストが拒否されているのですが、
この原因は/etc/hosts.allowでした。/etc/hosts.allowに以下を追記したらNFSマウント出来ました。

ALL:127.0.0.1