On 25/02/15 06:03 PM, German wrote:
On Wed, 25 Feb 2015 16:06:58 -0500
Gary Dale <garyd...@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.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/54eea60c.5000...@torfree.net