NFS cannot monitor message

在機器上當 nfs client 時,看到 log 出現了下面的東西

lockd: cannot monitor 192.168.0.3

查了一下,是 rpc.statd 沒有執行的結果,所以不能夠正常的 monitor NFS 伺服器的狀態。

執行 /etc/init.d/nfs-common start 就可以。

實際上,系統是執行 /usr/sbin/rpc.statd, /usr/sbin/rpc.lockd 這 2 個程式,同時,也要檢查

/var/lib/nfs 目錄是否存在,不然會出現

Starting NFS statd: statd: Could not chdir: No such file or directory [FAILED]

解決方法就是重建一個新的 /var/lib/nfs 目錄就可以了。

參考資料:
Nfs lock problem

發表迴響

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 / 變更 )

Twitter picture

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

Facebook照片

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

連結到 %s

Follow

Get every new post delivered to your Inbox.