Ubuntu 磁盤掛載錯誤


一、錯誤

報錯原因:

在刪除或者復制移動時,磁盤或者u盤等外接硬件設備,忽然掉落(斷掉,接口松動),在次掛載磁盤時就會出現錯誤

錯誤日志:

$MFTMirr does not match $MFT (record 0). Failed to mount '/dev/sdc1': 輸入/輸出錯誤 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.

二、解決方法

簡單解決:

linux ~ # 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 Checking the alternate boot sector... OK NTFS volume version is 3.1. NTFS partition /dev/sdc1 was processed successfully.

重新插入磁盤:

linux ~ # df -hT 文件系統 類型 容量 已用 可用 已用% 掛載點 udev devtmpfs 1.9G     0  1.9G    0% /dev tmpfs tmpfs 383M 9.4M  374M    3% /run /dev/sda1      ext4      459G   70G  366G   16% / tmpfs tmpfs 1.9G   21M  1.9G    2% /dev/shm tmpfs tmpfs 5.0M  4.0K  5.0M    1% /run/lock tmpfs tmpfs 1.9G     0  1.9G    0% /sys/fs/cgroup /dev/sdb1      ext4      9.3G  213M  8.6G    3% /boot cgmfs tmpfs 100K 0  100K    0% /run/cgmanager/fs tmpfs tmpfs 383M 0  383M    0% /run/user/122 tmpfs tmpfs 383M 16K 383M 1% /run/user/1000
/dev/sdc1      fuseblk   932G  161G  772G   18% /media/linux/Seagate Backup Plus Drive

重新掛載之后就ok了

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM