存储:The file system wasn‘t safely closed on Windows.

发布时间:2023年12月20日

借鉴:mount -t ntfs-3g 挂载失败 The disk contains an unclean file system (0, 0). - 简书 (jianshu.com)

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

[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 /]# 
文章来源:https://blog.csdn.net/shunzi2016/article/details/135116611
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。