【问题标题】:Error happens when trying to umount the Lustre file system尝试卸载 Lustre 文件系统时发生错误
【发布时间】:2017-11-09 23:20:38
【问题描述】:

当我卸载 Lustre FS 时,它会显示:

[root@cn17663-ens4 mnt]# umount /mnt/lustre 
umount: /mnt/lustre: target is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))

如果我添加 force 选项 -f 它会给出相同的结果:

[root@cn17663-ens4 mnt]# umount /mnt/lustre -f
umount: /mnt/lustre: target is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))

当我尝试列出它给我的目录时:

[root@cn17663-ens4 mnt]# ls
ls: cannot access lustre: Cannot send after transport endpoint shutdown
lustre

我找不到原因,也无法解决。

【问题讨论】:

    标签: unix umount lustre


    【解决方案1】:

    您是否真的尝试运行lsof /mnt/lustre(按照错误消息的建议)来查看文件系统正在使用什么?这个问题不是 Lustre 独有的,任何本地文件系统也是如此 - 如果有一个进程正在使用文件系统(当前工作目录或打开的文件),那么在该进程停止使用它之前无法卸载它(cd /mnt/lustre 或关闭打开的文件)。

    【讨论】:

    • 正确@LustreOne 所描述的行为可能是由过时的安装引起的。
    【解决方案2】:

    我发现我可以使用umount -l /mnt/xx 来解决这个问题!

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2016-12-09
      • 2019-12-04
      • 1970-01-01
      • 2016-11-12
      • 2014-06-10
      • 2018-10-07
      • 1970-01-01
      相关资源
      最近更新 更多