Meta kept in windows cache ,refused mount--linux挂载磁盘错误
今天尝试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.)
因为windows 磁盘缓存文件所致,修复命令如下:
sudu ntfsfix /dev/sdb#
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.
结束修复,挂载成功
root@pityhero:/# mount -o rw /dev/sda4 /mnt

浙公网安备 33010602011771号