散尽浮华 2023

過去心不可得,現在心不可得,未來心不可得。
安寻安放,不卑不亢;重剑无锋,大巧不工!
  1. 首页
  2. linux
  3. 正文

使用 umount -l 强制卸载NFS卷

2021年8月6日 2139点热度 9人点赞 0条评论

一、由于NFS Server设备掉电重启,不能umount

1.1、不能mount

[root@zpdy ~]# /opt/emc/boostfs/bin/boostfs mount /opt/ddboost -d 10.20.0.207 -s unit_yidonghuli -o allow-others=true

Not able to access the mount point /opt/ddboost

1.2、不能切换当前路径

[root@zpdy ~]# cd /opt/ddboost
-bash: cd: /opt/ddboost: 传输端点尚未连接

1.3、不能umount

[root@zpdy ~]# umount /opt/ddboost
umount: /opt/ddboost: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))

[root@zpdy ~]# fuser  /opt/ddboost
无法分析 /opt/ddboost: 传输端点尚未连接
无法分析 /opt/ddboost: 传输端点尚未连接


[root@zpdy ~]# umount -f /opt/ddboost
umount2: 设备或资源忙
umount: /opt/ddboost: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))
umount2: 设备或资源忙

二、使用 umount -l 强制卸载后,重新挂载成功

[root@zpdy ~]# umount -l /opt/ddboost

[root@zpdy ~]# /opt/emc/boostfs/bin/boostfs mount /opt/ddboost -d 10.20.0.207 -s unit_yidonghuli -o allow-others=true
mount: Mounting 10.20.0.207:unit_yidonghuli on /opt/ddboost

[root@zpdy ~]# ls /opt/ddboost/
database  day_bak  mon_bak  tmp_20210413_bk  yidonghuli-backup.log
标签: 暂无
最后更新:2021年8月6日

admin

这个人很懒,什么都没留下

点赞
< 上一篇
下一篇 >

文章评论

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回复

COPYRIGHT © 2023 散尽浮华 2023. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang