前一次还挂载好好的,今天在挂载NTFS的分区就不行了,出现如下错误信息和提示:
$LogFile indicates unclean shutdown (0, 0) Mount is denied because NTFS is marked to be in use. Choose one action: Choice : If you have Windows then disconnect the external devices by
clicking on the 'Safely Remove Hardware' icon in the Windows
taskbar then shutdown Windows cleanly. Choice : If you don't have Windows then you can use the 'force' option for
your own responsibility. For example type on the command line: mount -t ntfs-3g /dev/sdb1 /media/sdb8 -o force Or add the option to the relevant row in the /etc/fstab file: /dev/sdb1 /media/sdb8 ntfs-3g force
解决方案已经列出来了,
一是:重启进入Windows,然后把硬盘安全移除,然后在进入Linux(我的是CentOS 7)就可以挂载了。
二是:强制挂载,示例:mount -t ntfs-3g /dev/sdb1 /media/sdb8 -o force,也就是在我们通常使用的挂载命令之后加上 -o force的选项即可。