美文网首页系统性能优化
mount -t ntfs-3g 挂载失败 The disk c

mount -t ntfs-3g 挂载失败 The disk c

作者: 无味wy | 来源:发表于2021-12-17 11:12 被阅读0次

    原因:
    进程未关闭,无法读写磁盘

    [root@localhost /]# mount -t ntfs-3g /dev/sdb2 /data1/
    The disk contains an unclean file system (0, 0).
    The file system wasn't safely closed on Windows. Fixing.
    [root@localhost /]# mount -t ntfs-3g /dev/sdb2 /data1/
    Mount is denied because the NTFS volume is already exclusively opened.
    The volume may be already mounted, or another software may use it which
    could be identified for example by the help of the 'fuser' command.
    

    解决:
    找出占用磁盘的进程,然后杀掉在挂载

    [root@localhost /]# fuser -m -u /dev/sdb2
    /dev/sdb2:           13740(root)
    [root@localhost /]# kill 13740
    [root@localhost /]# mount -t ntfs-3g /dev/sdb2 /data1/
    [root@localhost /]# 
    

    相关文章

      网友评论

        本文标题:mount -t ntfs-3g 挂载失败 The disk c

        本文链接:https://www.haomeiwen.com/subject/cfcifrtx.html