2010/10/17

Fixing ntfs filesystem on Linux

NOTE: Before apply this you must backup all your data.
-------------------------------------------------------
You can use "ntfsfix" to fix problem on yours ntfs filesystem on Linux:

zarita devcesar # ntfsfix /dev/sdb1
Mounting volume... 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
NTFS volume version is 3.1.
NTFS partition /dev/sdb1 was processed successfully.