我的希捷硬盘是320G的,我的台式机坏了之后,买了个ORICO的硬盘座裸奔。今天可能是没有umount就拔了数据线,导致我想把硬盘再mount到我笔记本时,报“$MFTMirr does not match $MFT (record 0)”错,把解决过程记录下来。
完整报错:
[root@CC systems]# mount /dev/sdc1 /mnt $MFTMirr does not match $MFT (record 0). Failed to mount '/dev/sdc1': Input/output error NTFS is either inconsistent, or there is a hardware fault, or it's a SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows then reboot into Windows twice. The usage of the /f parameter is very important! If the device is a SoftRAID/FakeRAID then first activate it and mount a different device under the /dev/mapper/ directory, (e.g. /dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation for more details.
[root@CC systems]# fsck /dev/sdc1 fsck from util-linux 2.21.2 $MFTMirr does not match $MFT (record 0).
解决工具:
ntfsrpogs 工具箱
-
mkntfs: Create an NTFS volume on a partition
-
ntfscat: Print a file on the standard output
-
ntfsclone: Efficiently backup/restore a volume at the sector level
-
ntfscluster: Given a cluster, or sector, find the file
-
ntfsfix: Forces Windows to check NTFS at boot time
-
ntfsinfo: Dump a file’s attributes, completely
-
ntfslabel: Display or set a volume’s label
-
ntfslib: Move all the common code into a shared library
-
ntfsls: List directory contents
-
ntfsresize: Resize an NTFS volume
-
ntfsundelete: Find files that have been deleted and recover them
-
ntfswipe: Write zeros over the unused parts of the disk
-
ntfsdefrag: Defragment files, directories and the MFT
-
ntfsck: Perform consistancy checks on a volume
-
nttools: Command-line tools to view/change an offline NTFS volume, e.g. ntfscp, ntfsgrep, ntfstouch, ntfsrm, ntfsrmdir, ntfsmkdir
-
ntfsdiskedit: Walk the tree of NTFS ondisk structures (and alter them)
注意:以上工具请慎用,否则会导致数据丢失,甚至破坏硬盘
解决办法:
[root@CC systems]# yum install ntfsprogs Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit, remove- : with-leaves Loading mirror speeds from cached hostfile * fedora: opensource.nchc.org.tw * rpmfusion-free: mirrors.163.com * rpmfusion-free-updates: mirrors.163.com * updates: mirrors.ustc.edu.cn Package 2:ntfsprogs-2012.1.15-5.fc17.x86_64 already installed and latest version Nothing to do
[root@CC systems]# ntfsfix /dev/sdc1 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 NTFS volume version is 3.1. NTFS partition /dev/sdc1 was processed successfully. [root@CC systems]# mount /dev/sdc1 /mnt
转载于:https://blog.51cto.com/rajaruan/1122838