更改关机顺序以避免nfs umount故障

时间:2014-03-26 18:10:03

标签: debian nfs raspbian

我在我的Raspberry Pi上运行raspbian(基于debian)的压力,并且在重新启动时,设备似乎在尝试卸载NFS目录时挂断了...

....
[ok] Stopping Network connection manager: wcid.
.....
[[timestamp]] nfs: server freenas not responding, still trying

在我看来,尽管已经停止了设备上的网络连接,但它正在等待来自NFS的响应。这将挂起5分钟或有时直到我拔掉它(我等了30分钟)

有没有办法重新排序这个shudtown序列,所以这不会发生?

1 个答案:

答案 0 :(得分:1)

在此检查关机顺序:

ls /etc/rc6.d

请注意,umountnfs.sh的号码高于网络管理员或您的案例wicd。重命名umountnfs.sh。就我而言:

mv /etc/rc6.d/K06umountnfs.sh /etc/rc6.d/K02umountnfs.sh

然后以正常方式关闭并重启工作。

来自https://www.kubuntuforums.net/archive/index.php/t-55814.html

的说明