挂载 ntfs u盘 报错
程序员文章站
2022-05-26 15:14:45
...
强拔了一次u盘,再插上的时候就出现了一个大大错误提示框,提示信息贼多,我大概看了下,关键信息如下:
NTFS is either inconsistent, or there is a hardware
fault, or it's a SoftRAID/FakeRAID hardware.
就是说我把硬件把错了,其实之前也碰到过,处理也就是重新格式化,但是这次数据有点多,我就想找u盘的修复。
问题不大,后面还是找到了解决方法,linux下面 一如既往的一个命令搞定。
$ sudo ntfsfix /dev/sdf6
记得将 /dev/sdf6 换成你报错的设备文件
执行结果如下:
Mounting volume... $MFTMirr does not match $MFT (record 0).
FAILED
Attempting to correct errors...
Processing $MFT and $MFTMirr...
Reading $MFT... OK
Reading $MFTMirr... OK
Comparing $MFTMirr to $MFT... FAILED
Correcting differences in $MFTMirr record 0...OK
Processing of $MFT and $MFTMirr completed successfully.
Setting required flags on partition... OK
Going to empty the journal ($LogFile)... OK
Checking the alternate boot sector... OK
NTFS volume version is 3.1.
NTFS partition /dev/sdf6 was processed successfully.
恩恩,现在重新挂载就没有问题了。
参考:
下一篇: matlab 调用Python记录二
推荐阅读