Luca Ciavatta: Fix inconsistent NTFS drive on Linux

If you’re unable to access to a NTFS drive from Linux and you get some complex error messages, please don’t wipe it. Just some terminal commands and the issue is solved.

 

<figure class=”wp-caption aligncenter” id=”attachment_559″ style=”width: 828px”>Weird error from an external NTFS drive<figcaption class=”wp-caption-text”>Weird error from an external NTFS drive</figcaption></figure>

Unable to access to inconsistent NTFS drive or there is a hardware fault

If you see an error message like the one in the screenshoot above, open a terminal window and type in it the following commands.

NTFS-3G is an open source cross-platform implementation of the Microsoft Windows NTFS file system with read-write support. NTFS-3G often uses the FUSE file system interface, so it can run unmodified on many different operating systems. More info at the wiki.

First install the NTFS-3G suite:


$ sudo dnf install ntfs-3g #for Fedora based distro

$ sudo apt install ntfs-3g #for Debian based distro like Ubuntu

Then, fix the disk issue:


$ sudo fdisk -l #check where is mounted the disk

$ sudo ntfsfix /dev/sdb1 #change sd1 with the path for your drive

Just some seconds and your drive is ready with full content available:


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

The post Fix inconsistent NTFS drive on Linux appeared first on cialu.net.


Source From: fedoraplanet.org.
Original article title: Luca Ciavatta: Fix inconsistent NTFS drive on Linux.
This full article can be read at: Luca Ciavatta: Fix inconsistent NTFS drive on Linux.

Advertisement
The easiest way to create a website for your business. Create your site at Weebly.com!


Random Article You May Like

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*