借鉴: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 /]#