[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Corrupted USB drive



On 25/02/15 11:59 PM, German wrote:
On Wed, 25 Feb 2015 23:50:20 -0500
Gary Dale <garydale@torfree.net> wrote:

On 25/02/15 06:03 PM, German wrote:
On Wed, 25 Feb 2015 16:06:58 -0500
Gary Dale <garydale@torfree.net> wrote:

On 25/02/15 03:09 PM, German wrote:
Hi list, can't mount my usb drive. It seems it is corrupted. I tried to run ntfsfix and here is its ouput:
digger@digger:~$ sudo ntfsfix /dev/sdc1
Mounting volume... ntfs_attr_pread_i: ntfs_pread failed: Input/output error
Failed to read of MFT, mft=17625 count=1 br=-1: Input/output error
Inode is corrupt (5): Input/output error
Index root attribute missing in directory inode 5: Input/output error
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_attr_pread_i: ntfs_pread failed: Input/output error
Failed to read of MFT, mft=17625 count=1 br=-1: Input/output error
Inode is corrupt (5): Input/output error
Index root attribute missing in directory inode 5: Input/output error
Remount failed: Input/output error


If anyone can suggest how I can recover my drive and what is exactly a problem, I'd appreciate it. Thanks


Testdisk might be able to help.
What exactly should I be looking for in testdisk? I checked structure, it is ok. Should I do "deeper search"? And what means "Index root attribute missing in directory inode 5"?

The problem you reported was inability to mount a USB stick. Testdisk
helps you recover from disk/file system corruption.

I suggest you use ddrescue to create an image of the NTFS partition on
the USB stick and retry ntfsfix against the image. Assuming ntfsfix
works, you can then mount the image using the loop option.

e.g.  ddrescue /dev/sdx1 ./ntfs.img
          ntfsfix ./ntfs.img
         mkdir ntfs-image
         mount -o loop ./ntfs.img ./ntfs-image

If ntfsfix doesn't work, try using testdisk against the .img file.

Once you've got your files copied to a new stick, don't use the old one.
Thanks for your suggestion. However I am afraid I can't create .img file because my internal disk is 128 GB and my unmountable drive is 2 TB. ( it is 3'5" external usb disk, not a USB stick ).


In that case, get another USB drive or internal SATA drive of sufficient capacity to make the copy. Once you have a good copy that you have verified / fixed, you can reformat the faulty drive. Do a full reformat, not a quick one, as the full reformat verifies the disk surface and marks bad blocks.


Reply to: