我有几个 NFS 挂载,我正在 fstab 中自动挂载。一切都很好,直到重新启动然后它挂起试图卸载它们,但我可以在重新启动之前手动手动卸载它们而不会出现问题。发生这种情况时,服务器仍然在线并且可以访问。如果有区别,工作站是Debian 8,服务器是Centos6。
//fstab//
devbox:/coding/go /nfs-mounts/go nfs auto 0 0
devbox:/usr/share/nginx/html/thriftstore
/nfs-mounts/thriftstore nfs auto 0 0
//主机//
192.168.0.190 devbox.localdomain devbox
最佳答案
我有同样的错误,我做了一个肮脏的解决方法。我在 /etc/init.d/sendsigs
中放了一行:
do_stop () {
invoke-rc.d umountnfs stop # this is the new line
OMITPIDS=
关于linux - NFS 安装挂起重启,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41678935/