Re: Corrupted USB drive

2015-02-26 Thread Gary Dale

On 25/02/15 11:59 PM, German wrote:

On Wed, 25 Feb 2015 23:50:20 -0500
Gary Dale garyd...@torfree.net wrote:


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.

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.



--
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/54ef355c.3000...@torfree.net



Re: Corrupted USB drive

2015-02-26 Thread Keith Bainbridge
On Thu, 26 Feb 2015 17:44:05 +1100 Keith BAINBRIDGE
keithrbaugro...@gmail.com wrote:

Um,  I have 2 USB disks, 2g  4g, I believe I formatted NTFS,
attached to a Mint 12.04 (equivalent) system working
fine.  /etc/mtab says fuseblk as file system. 

Perhaps Mint team does something special? 

Better make that 2TB  4TB disks. 


Keith Bainbridge

keithrbaugro...@gmail.com

+61 (0)447 667 468


-- 
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/20150226200827.52616f3a@keithsmac



Re: Corrupted USB drive

2015-02-25 Thread Gary Dale

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.


--
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/54ee3972.7090...@torfree.net



Re: Corrupted USB drive

2015-02-25 Thread German
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?

 
 
 -- 
 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/54ee3972.7090...@torfree.net
 


-- 
German gentger...@gmail.com


-- 
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/20150225180307.9bd495719f4c421ce930a...@gmail.com



Re: Corrupted USB drive

2015-02-25 Thread Keith BAINBRIDGE
Um,  I have 2 USB disks, 2g  4g, I believe I formatted NTFS,  attached to 
a Mint 12.04 (equivalent) system working fine.  /etc/mtab says fuseblk as file 
system. 

Perhaps Mint team does something special? 
-- 
Keith Bainbridge

keithrbaugro...@gmail.com
Sent from my Apad

On 26 February 2015 4:11:02 pm AEDT, Rusi Mody rustompm...@gmail.com wrote:
On Thursday, February 26, 2015 at 10:30:05 AM UTC+5:30, German wrote:
 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 ).

I remember seeing something about linux drivers for large external ntfs
drives
not working (at some version of these drivers??) and needing to be
upgraded
eg thread http://ubuntuforums.org/showthread.php?t=1866432 and kernel
patch at end


-- 
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/8b55924d-5a20-4147-937b-635400cb5...@gmail.com



Re: Corrupted USB drive

2015-02-25 Thread Rusi Mody
On Thursday, February 26, 2015 at 10:30:05 AM UTC+5:30, German wrote:
 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 ).

I remember seeing something about linux drivers for large external ntfs drives
not working (at some version of these drivers??) and needing to be upgraded
eg thread http://ubuntuforums.org/showthread.php?t=1866432 and kernel patch at 
end


-- 
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/e43c4fdf-8c7c-4bbc-aaf2-962686aa2...@googlegroups.com



Re: Corrupted USB drive

2015-02-25 Thread Gary Dale

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



Re: Corrupted USB drive

2015-02-25 Thread German
On Wed, 25 Feb 2015 23:50:20 -0500
Gary Dale garyd...@torfree.net wrote:

 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.

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 ).

 
 
 -- 
 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
 


-- 
German gentger...@gmail.com


-- 
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/20150225235913.3902943d46b01fde661a4...@gmail.com