Error mounting /dev/sda4 , Metadata kept in Windows cache, refused to mount的解決方法


今天嘗試mount讀取Windows盤上的數據時,遇到了這個錯誤:

root@pityhero:/# mount -o rw /dev/sda4 /mnt
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Falling back to read-only mount because the NTFS partition is in an
unsafe state. Please resume and shutdown Windows fully (no hibernation
or fast restarting.)

百度了一下,發現好像是因為Win10的快速啟動導致的。

可以啟動windows,選擇重啟,再啟動linux。

當然,也可以治本:

  sudo ntfsfix /dev/sda#

root@pityhero:/# sudo ntfsfix /dev/sda4
Mounting volume... The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
FAILED
Attempting to correct errors... 
Processing $MFT and $MFTMirr...
Reading $MFT... OK
Reading $MFTMirr... OK
Comparing $MFTMirr to $MFT... 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/sda4 was processed successfully.

結束修復后,mount成功:

root@pityhero:/# mount -o rw /dev/sda4 /mnt

 


免責聲明!

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



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