我的文件都是存放在nfs中的.. 平時訪問就算是訪問量大的時候都不會有問題.. 但是最近出現一個奇怪的問題.網路結果一直都沒有更變過. client 段這邊系統message 有如下這樣的提示. client 是做web的...通過nfsmount數據然後提供服務. RPC: error 512 connecting to server all-web-nfs-2 RPC: error 512 connecting to server all-web-nfs-2
在all-web-nfs-2 這台機器上面沒有發現其他的異常. 但是如果一旦client出現了 RPC: error 512 connecting to server all-web-nfs-2 RPC: error 512 connecting to server all-web-nfs-2 勢必導致用戶在訪問client web的時候訪問不了.. google中找了一些資料但是還是沒有很好的理解.這個問題產生的原因. 個人懷疑一個可能是 1.交換機丟包. (在出現問題的時候,沒有去抓包.所以也不知道是不是懷疑的正確) 2.網卡掉了.(client 查看的沒有任何問題, nfs server 在出現RPC錯誤的時候也沒有出現問題)
google找到的資料.. http://www.linux.ie/lists/pipermail/ilug/2007-January/091593.html 有人說升級內核可以解決問題. Wow, that's old. And googling for that 'RPC: error 512' string leads one to:
http://www.opensubscriber.com/message/nfs@lists.sourceforge.net/2839285.html 我碰見的問題和它一樣.但是最後還是沒有得出有效的解決方式 I'm still seeing a moderate number of errors like this on clients (both centos-3 and centos-4) connected to my centos-4 servers:
RPC: error 512 connecting to server $HOSTNAME nfs_statfs: statfs error = 512
associated with mounted FSs becoming unavailable for periods of time (not sure exactly how long, but on the order of 10-15 minutes). What exactly is error 512, and where does it point me to for the purposes of fixing this?