• Welcome to LiuJason's Blog!

Linux下安全的卸载一个无效的NFS挂载

Linux笔记 Jason 5 years ago (2019-07-09) 1025 Views 0 Comments QR code of this page

在Proxmox中使用LXC容器挂载外部NFS的时候,如果源服务器宕机了,那么LXC这边会不断地尝试继续挂载。

而这种情况下,是没办法正常的关机的,会卡住,什么都干不了....

为了解决这一问题,最好的就是在关机前umount,添加-f参数(force)实测是无效的....因此要添加-l参数(lazy)

umount /usr/lib64/R/library -l

umount /usr/share/R/library -l


This article is under CC BY-NC-SA 4.0 license.
Please quote the original link:https://www.liujason.com/article/302.html
Like (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址