NTFS-mount-fix-linux-ubuntu

Issue

You are trying to mount an NTFS partition and the console is trowing the below error. Lets see how to fix this.

The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Failed to mount '/dev/sda3': Operation not permitted
The NTFS partition is in an unsafe state. Please resume and shutdown
Windows fully (no hibernation or fast restarting), or mount the volume
read-only with the 'ro' mount option.

Resolution

To solve this issue, run the below command from a terminal as root. Please make sure that the filesystem is not mounted not even in ro mode.

 

ntfsfix /dev/sda3

Output
[email protected]:~# ntfsfix /dev/sda3


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/sda3 was processed successfully.

That’s it, Now mount your NTFS partitions.

Comments

comments