强拔了一次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.
恩恩,现在重新挂载就没有问题了。
参考:
来源:CSDN
作者:HockerF
链接:https://blog.csdn.net/u012939880/article/details/103480833