Ubuntu 磁盤掛載錯誤

1、錯誤

報錯緣由:

在刪除或者複製移動時,磁盤或者u盤等外接硬件設備,突然掉落(斷掉,接口鬆動),在次掛載磁盤時就會出現錯誤linux

錯誤日誌:

$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.

2、解決方法

簡單解決:

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了app

相關文章
相關標籤/搜索