LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-04-2012, 02:35 PM   #1
ununun
Member
 
Registered: Jun 2011
Posts: 82

Rep: Reputation: Disabled
ext4 partition just went missing; dd if=the_partition writes 0 bytes.


its been a regular day. the only thing that i can think of that could even remotely affect my external hard-drive is, installing laptop-mode. beside that nothing comes to mind.

the hard drive is 1tb usb 3.0 wd externel drive (sdc). hd was already plugged in, its first partition (i.e. sdc1,ext4) mounted when the problem happened. i was working, nothing that io to sdc1. then i realized sdc1 is no longer mounted. i tried to mount it,but the command took at least 1m untill i ^C it. there is no uuid entry in /dev/disk/by-uuid/

Code:
$ fdisk -l /dev/sdc
/dev/sdc1            2048  1843202047   921600000   83  Linux
/dev/sdc2      1943218176  1953458175     5120000   83  Linux
/dev/sdc3      1843202048  1943218175    50008064    7  HPFS/NTFS/exFAT

Partition table entries are not in disk order
checking sdc1 fails too.
Code:
$ e2fsc -f /dev/sdc1
e2fsck 1.42.5 (29-Jul-2012)
e2fsck: Attempt to read block from filesystem resulted in short read while trying to open /dev/sdc1
Could this be a zero-length partition?
i tried to back up it using dd, but that failed too.
Code:
$ dd if=/dev/sdc1 > /mnt/sg/fs
dd: reading '/dev/sdc1': Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 5.56793 s, 0.0 kB/s
what just happened !
sdc1 had 800+ gb of data in it.
please help.
 
Old 11-04-2012, 04:02 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by ununun View Post
hd was already plugged in, its first partition (i.e. sdc1,ext4) mounted when the problem happened. i was working, nothing that io to sdc1. then i realized sdc1 is no longer mounted.
Please check your syslog for any messages prior to the approximate time you realized it was no longer mounted. Run 'testdisk /debug /log' on the whole block device, do a quick search, exit without modifying anything and attach the plain text "testdisk.log".
 
Old 11-05-2012, 06:02 AM   #3
ununun
Member
 
Registered: Jun 2011
Posts: 82

Original Poster
Rep: Reputation: Disabled
thanks unSpawn for your reply
it would be around 0000-0130, when i first realized , here is the syslog around that time.
Code:
Nov  4 20:41:19 localhost kernel: [ 2406.285625] usb 2-2: new high-speed USB device number 2 using xhci_hcd
Nov  4 20:41:19 localhost kernel: [ 2406.302841] usb 2-2: ep 0x81 - rounding interval to 32768 microframes, ep desc says 0 microframes
Nov  4 20:41:19 localhost kernel: [ 2406.302849] usb 2-2: ep 0x2 - rounding interval to 32768 microframes, ep desc says 0 microframes
Nov  4 20:41:19 localhost kernel: [ 2406.304285] scsi12 : usb-storage 2-2:1.0
Nov  4 20:41:20 localhost kernel: [ 2407.304741] scsi 12:0:0:0: Direct-Access     WD       My Passport 0740 1003 PQ: 0 ANSI: 6
Nov  4 20:41:20 localhost kernel: [ 2407.305750] scsi 12:0:0:1: Enclosure         WD       SES Device       1003 PQ: 0 ANSI: 6
Nov  4 20:41:27 localhost kernel: [ 2407.307916] sd 12:0:0:0: [sdc] Spinning up disk....ready
Nov  4 20:41:27 localhost kernel: [ 2414.264280] sd 12:0:0:0: [sdc] 1953458176 512-byte logical blocks: (1.00 TB/931 GiB)
Nov  4 20:41:27 localhost kernel: [ 2414.265160] sd 12:0:0:0: [sdc] Write Protect is off
Nov  4 20:41:27 localhost kernel: [ 2414.277137]  sdc: sdc1 sdc2 sdc3
Nov  4 20:41:27 localhost kernel: [ 2414.279622] sd 12:0:0:0: [sdc] Attached SCSI disk
Nov  4 20:41:27 localhost kernel: [ 2414.341286] ses 12:0:0:1: Attached Enclosure device
Nov  4 20:41:32 localhost kernel: [ 2419.737355] EXT4-fs (sdc1): mounted filesystem with ordered data mode. Opts: (null)
Nov  5 00:47:57 localhost kernel: [17182.874483] usb 2-2: USB disconnect, device number 2
Nov  5 00:47:58 localhost kernel: [17183.137999] usb 2-2: new high-speed USB device number 3 using xhci_hcd
Nov  5 00:47:58 localhost kernel: [17183.155303] usb 2-2: ep 0x81 - rounding interval to 32768 microframes, ep desc says 0 microframes
Nov  5 00:47:58 localhost kernel: [17183.155318] usb 2-2: ep 0x2 - rounding interval to 32768 microframes, ep desc says 0 microframes
Nov  5 00:47:58 localhost kernel: [17183.156948] scsi13 : usb-storage 2-2:1.0
Nov  5 00:47:58 localhost kernel: [17183.310015] usb 2-2: USB disconnect, device number 3
Nov  5 00:47:58 localhost kernel: [17183.564093] usb 2-2: new high-speed USB device number 4 using xhci_hcd
Nov  5 00:47:58 localhost kernel: [17183.581285] usb 2-2: ep 0x81 - rounding interval to 32768 microframes, ep desc says 0 microframes
Nov  5 00:47:58 localhost kernel: [17183.581295] usb 2-2: ep 0x2 - rounding interval to 32768 microframes, ep desc says 0 microframes
Nov  5 00:47:58 localhost kernel: [17183.582915] scsi14 : usb-storage 2-2:1.0
Nov  5 00:47:59 localhost kernel: [17184.583055] scsi 14:0:0:0: Direct-Access     WD       My Passport 0740 1003 PQ: 0 ANSI: 6
Nov  5 00:47:59 localhost kernel: [17184.583530] scsi 14:0:0:1: Enclosure         WD       SES Device       1003 PQ: 0 ANSI: 6
Nov  5 00:47:59 localhost kernel: [17184.583666] sd 14:0:0:0: [sdd] 1953458176 512-byte logical blocks: (1.00 TB/931 GiB)
Nov  5 00:47:59 localhost kernel: [17184.583731] ses 14:0:0:1: Attached Enclosure device
Nov  5 00:47:59 localhost kernel: [17184.584516] sd 14:0:0:0: [sdd] Write Protect is off
Nov  5 00:48:05 localhost kernel: [17190.012965]  sdd: sdd1 sdd2 sdd3
Nov  5 00:48:05 localhost kernel: [17190.030261] sd 14:0:0:0: [sdd] Attached SCSI disk
Nov  5 01:05:06 localhost kernel: [18209.479293] usb 2-2: USB disconnect, device number 4
Nov  5 01:05:06 localhost kernel: [18209.772072] usb 2-2: new high-speed USB device number 5 using xhci_hcd
Nov  5 01:05:06 localhost kernel: [18209.789205] usb 2-2: ep 0x81 - rounding interval to 32768 microframes, ep desc says 0 microframes
Nov  5 01:05:06 localhost kernel: [18209.789211] usb 2-2: ep 0x2 - rounding interval to 32768 microframes, ep desc says 0 microframes
Nov  5 01:05:06 localhost kernel: [18209.790654] scsi15 : usb-storage 2-2:1.0
Nov  5 01:05:07 localhost kernel: [18210.791610] scsi 15:0:0:0: Direct-Access     WD       My Passport 0740 1003 PQ: 0 ANSI: 6
Nov  5 01:05:07 localhost kernel: [18210.793010] scsi 15:0:0:1: Enclosure         WD       SES Device       1003 PQ: 0 ANSI: 6
Nov  5 01:05:07 localhost kernel: [18210.793241] ses 15:0:0:1: Attached Enclosure device
Nov  5 01:05:09 localhost kernel: [18213.338057] sd 15:0:0:0: [sde] 1953458176 512-byte logical blocks: (1.00 TB/931 GiB)
Nov  5 01:05:09 localhost kernel: [18213.339489] sd 15:0:0:0: [sde] Write Protect is off
Nov  5 01:05:09 localhost kernel: [18213.359733]  sde: sde1 sde2 sde3
Nov  5 01:05:09 localhost kernel: [18213.363097] sd 15:0:0:0: [sde] Attached SCSI disk
Nov  5 01:05:12 localhost kernel: [18216.062548] sd 15:0:0:0: [sde] Unhandled sense code
Nov  5 01:05:12 localhost kernel: [18216.062557] sd 15:0:0:0: [sde]  Result: hostbyte=0x00 driverbyte=0x08
Nov  5 01:05:12 localhost kernel: [18216.062565] sd 15:0:0:0: [sde]  Sense Key : 0x3 [current] 
Nov  5 01:05:12 localhost kernel: [18216.062574] sd 15:0:0:0: [sde]  ASC=0x11 ASCQ=0x0
Nov  5 01:05:12 localhost kernel: [18216.062581] sd 15:0:0:0: [sde] CDB: cdb[0]=0x28: 28 00 00 00 08 00 00 00 08 00
Nov  5 01:05:15 localhost kernel: [18218.701072] sd 15:0:0:0: [sde] Unhandled sense code
Nov  5 01:05:15 localhost kernel: [18218.701081] sd 15:0:0:0: [sde]  Result: hostbyte=0x00 driverbyte=0x08
Nov  5 01:05:15 localhost kernel: [18218.701090] sd 15:0:0:0: [sde]  Sense Key : 0x3 [current] 
Nov  5 01:05:15 localhost kernel: [18218.701098] sd 15:0:0:0: [sde]  ASC=0x11 ASCQ=0x0
Nov  5 01:05:15 localhost kernel: [18218.701106] sd 15:0:0:0: [sde] CDB: cdb[0]=0x28: 28 00 00 00 08 00 00 00 08 00
Nov  5 01:05:17 localhost kernel: [18221.046105] usb 2-2: USB disconnect, device number 5
Nov  5 01:05:17 localhost kernel: [18221.049819] scsi 15:0:0:0: [sde] killing request
Nov  5 01:05:17 localhost kernel: [18221.049831] scsi 15:0:0:0: [sde] Unhandled error code
Nov  5 01:05:17 localhost kernel: [18221.049834] scsi 15:0:0:0: [sde]  Result: hostbyte=0x01 driverbyte=0x00
Nov  5 01:05:17 localhost kernel: [18221.049838] scsi 15:0:0:0: [sde] CDB: cdb[0]=0x28: 28 00 00 00 08 00 00 00 08 00
Nov  5 01:05:17 localhost kernel: [18221.049871] scsi 15:0:0:0: [sde] killing request
Nov  5 01:05:17 localhost kernel: [18221.049882] scsi 15:0:0:0: [sde] Unhandled error code
Nov  5 01:05:17 localhost kernel: [18221.049885] scsi 15:0:0:0: [sde]  Result: hostbyte=0x01 driverbyte=0x00
Nov  5 01:05:17 localhost kernel: [18221.049889] scsi 15:0:0:0: [sde] CDB: cdb[0]=0x28: 28 00 73 d3 26 f8 00 00 08 00
Nov  5 01:05:17 localhost kernel: [18221.069150] xhci_hcd 0000:05:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff88006dd94280
Nov  5 01:05:17 localhost kernel: [18221.069155] xhci_hcd 0000:05:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff88006dd942c0
Nov  5 01:05:22 localhost kernel: [18225.741694] usb 2-2: new high-speed USB device number 6 using xhci_hcd
Nov  5 01:05:22 localhost kernel: [18225.759696] usb 2-2: ep 0x81 - rounding interval to 32768 microframes, ep desc says 0 microframes
Nov  5 01:05:22 localhost kernel: [18225.759710] usb 2-2: ep 0x2 - rounding interval to 32768 microframes, ep desc says 0 microframes
Nov  5 01:05:22 localhost kernel: [18225.761439] scsi16 : usb-storage 2-2:1.0
Nov  5 01:05:23 localhost kernel: [18226.764284] scsi 16:0:0:0: Direct-Access     WD       My Passport 0740 1003 PQ: 0 ANSI: 6
Nov  5 01:05:23 localhost kernel: [18226.765655] scsi 16:0:0:1: Enclosure         WD       SES Device       1003 PQ: 0 ANSI: 6
Nov  5 01:05:23 localhost kernel: [18226.766016] ses 16:0:0:1: Attached Enclosure device
Nov  5 01:05:29 localhost kernel: [18232.896962] sd 16:0:0:0: [sdd] 1953458176 512-byte logical blocks: (1.00 TB/931 GiB)
Nov  5 01:05:29 localhost kernel: [18232.898268] sd 16:0:0:0: [sdd] Write Protect is off
Nov  5 01:05:29 localhost kernel: [18232.918757]  sdd: sdd1 sdd2 sdd3
Nov  5 01:05:29 localhost kernel: [18232.924121] sd 16:0:0:0: [sdd] Attached SCSI disk
Nov  5 01:05:32 localhost kernel: [18235.644588] sd 16:0:0:0: [sdd] Unhandled sense code
Nov  5 01:05:32 localhost kernel: [18235.644597] sd 16:0:0:0: [sdd]  Result: hostbyte=0x00 driverbyte=0x08
Nov  5 01:05:32 localhost kernel: [18235.644606] sd 16:0:0:0: [sdd]  Sense Key : 0x3 [current] 
Nov  5 01:05:32 localhost kernel: [18235.644614] sd 16:0:0:0: [sdd]  ASC=0x11 ASCQ=0x0
Nov  5 01:05:32 localhost kernel: [18235.644621] sd 16:0:0:0: [sdd] CDB: cdb[0]=0x28: 28 00 00 00 08 00 00 00 08 00
Nov  5 01:05:32 localhost kernel: [18235.644648] quiet_error: 397 callbacks suppressed
Nov  5 01:05:34 localhost kernel: [18238.282217] sd 16:0:0:0: [sdd] Unhandled sense code
Nov  5 01:05:34 localhost kernel: [18238.282226] sd 16:0:0:0: [sdd]  Result: hostbyte=0x00 driverbyte=0x08
Nov  5 01:05:34 localhost kernel: [18238.282234] sd 16:0:0:0: [sdd]  Sense Key : 0x3 [current] 
Nov  5 01:05:34 localhost kernel: [18238.282242] sd 16:0:0:0: [sdd]  ASC=0x11 ASCQ=0x0
Nov  5 01:05:34 localhost kernel: [18238.282249] sd 16:0:0:0: [sdd] CDB: cdb[0]=0x28: 28 00 00 00 08 00 00 00 08 00
Nov  5 01:05:37 localhost kernel: [18241.150672] sd 16:0:0:0: [sdd] Unhandled sense code
Nov  5 01:05:37 localhost kernel: [18241.150681] sd 16:0:0:0: [sdd]  Result: hostbyte=0x00 driverbyte=0x08
Nov  5 01:05:37 localhost kernel: [18241.150690] sd 16:0:0:0: [sdd]  Sense Key : 0x3 [current] 
Nov  5 01:05:37 localhost kernel: [18241.150699] sd 16:0:0:0: [sdd]  ASC=0x11 ASCQ=0x0
Nov  5 01:05:37 localhost kernel: [18241.150706] sd 16:0:0:0: [sdd] CDB: cdb[0]=0x28: 28 00 00 00 08 00 00 00 08 00
Nov  5 01:05:40 localhost kernel: [18243.893305] sd 16:0:0:0: [sdd] Unhandled sense code
Nov  5 01:05:40 localhost kernel: [18243.893315] sd 16:0:0:0: [sdd]  Result: hostbyte=0x00 driverbyte=0x08
Nov  5 01:05:40 localhost kernel: [18243.893323] sd 16:0:0:0: [sdd]  Sense Key : 0x3 [current] 
Nov  5 01:05:40 localhost kernel: [18243.893331] sd 16:0:0:0: [sdd]  ASC=0x11 ASCQ=0x0
Nov  5 01:05:40 localhost kernel: [18243.893338] sd 16:0:0:0: [sdd] CDB: cdb[0]=0x28: 28 00 00 00 08 00 00 00 08 00
Nov  5 01:05:43 localhost kernel: [18246.600814] sd 16:0:0:0: [sdd] Unhandled sense code
Nov  5 01:05:43 localhost kernel: [18246.600823] sd 16:0:0:0: [sdd]  Result: hostbyte=0x00 driverbyte=0x08
Nov  5 01:05:43 localhost kernel: [18246.600831] sd 16:0:0:0: [sdd]  Sense Key : 0x3 [current] 
Nov  5 01:05:43 localhost kernel: [18246.600840] sd 16:0:0:0: [sdd]  ASC=0x11 ASCQ=0x0
Nov  5 01:05:43 localhost kernel: [18246.600847] sd 16:0:0:0: [sdd] CDB: cdb[0]=0x28: 28 00 00 00 08 00 00 00 08 00
Nov  5 01:05:45 localhost kernel: [18249.238384] sd 16:0:0:0: [sdd] Unhandled sense code
Nov  5 01:05:45 localhost kernel: [18249.238394] sd 16:0:0:0: [sdd]  Result: hostbyte=0x00 driverbyte=0x08
Nov  5 01:05:45 localhost kernel: [18249.238402] sd 16:0:0:0: [sdd]  Sense Key : 0x3 [current] 
Nov  5 01:05:45 localhost kernel: [18249.238411] sd 16:0:0:0: [sdd]  ASC=0x11 ASCQ=0x0
Nov  5 01:05:45 localhost kernel: [18249.238418] sd 16:0:0:0: [sdd] CDB: cdb[0]=0x28: 28 00 00 00 08 00 00 00 08 00
Nov  5 01:05:48 localhost kernel: [18251.888137] sd 16:0:0:0: [sdd] Unhandled sense code
Nov  5 01:05:48 localhost kernel: [18251.888146] sd 16:0:0:0: [sdd]  Result: hostbyte=0x00 driverbyte=0x08
Nov  5 01:05:48 localhost kernel: [18251.888154] sd 16:0:0:0: [sdd]  Sense Key : 0x3 [current] 
Nov  5 01:05:48 localhost kernel: [18251.888163] sd 16:0:0:0: [sdd]  ASC=0x11 ASCQ=0x0
Nov  5 01:05:48 localhost kernel: [18251.888170] sd 16:0:0:0: [sdd] CDB: cdb[0]=0x28: 28 00 00 00 08 00 00 00 08 00
Nov  5 01:05:51 localhost kernel: [18254.630481] sd 16:0:0:0: [sdd] Unhandled sense code
Nov  5 01:05:51 localhost kernel: [18254.630490] sd 16:0:0:0: [sdd]  Result: hostbyte=0x00 driverbyte=0x08
Nov  5 01:05:51 localhost kernel: [18254.630503] sd 16:0:0:0: [sdd]  Sense Key : 0x3 [current] 
Nov  5 01:05:51 localhost kernel: [18254.630506] sd 16:0:0:0: [sdd]  ASC=0x11 ASCQ=0x0
Nov  5 01:05:51 localhost kernel: [18254.630509] sd 16:0:0:0: [sdd] CDB: cdb[0]=0x28: 28 00 00 00 08 00 00 00 08 00
Nov  5 01:05:53 localhost kernel: [18257.268224] sd 16:0:0:0: [sdd] Unhandled sense code
Nov  5 01:05:53 localhost kernel: [18257.268233] sd 16:0:0:0: [sdd]  Result: hostbyte=0x00 driverbyte=0x08
Nov  5 01:05:53 localhost kernel: [18257.268241] sd 16:0:0:0: [sdd]  Sense Key : 0x3 [current] 
Nov  5 01:05:53 localhost kernel: [18257.268250] sd 16:0:0:0: [sdd]  ASC=0x11 ASCQ=0x0
Nov  5 01:05:53 localhost kernel: [18257.268257] sd 16:0:0:0: [sdd] CDB: cdb[0]=0x28: 28 00 00 00 08 00 00 00 08 00
Nov  5 01:05:56 localhost kernel: [18259.906777] sd 16:0:0:0: [sdd] Unhandled sense code
Nov  5 01:05:56 localhost kernel: [18259.906786] sd 16:0:0:0: [sdd]  Result: hostbyte=0x00 driverbyte=0x08
Nov  5 01:05:56 localhost kernel: [18259.906795] sd 16:0:0:0: [sdd]  Sense Key : 0x3 [current] 
Nov  5 01:05:56 localhost kernel: [18259.906803] sd 16:0:0:0: [sdd]  ASC=0x11 ASCQ=0x0
Nov  5 01:05:56 localhost kernel: [18259.906810] sd 16:0:0:0: [sdd] CDB: cdb[0]=0x28: 28 00 00 00 08 00 00 00 08 00
Nov  5 01:05:59 localhost kernel: [18262.545368] sd 16:0:0:0: [sdd] Unhandled sense code
Nov  5 01:05:59 localhost kernel: [18262.545377] sd 16:0:0:0: [sdd]  Result: hostbyte=0x00 driverbyte=0x08
Nov  5 01:05:59 localhost kernel: [18262.545385] sd 16:0:0:0: [sdd]  Sense Key : 0x3 [current] 
Nov  5 01:05:59 localhost kernel: [18262.545393] sd 16:0:0:0: [sdd]  ASC=0x11 ASCQ=0x0
Nov  5 01:05:59 localhost kernel: [18262.545400] sd 16:0:0:0: [sdd] CDB: cdb[0]=0x28: 28 00 00 00 08 00 00 00 08 00
Nov  5 01:06:01 localhost kernel: [18265.182757] sd 16:0:0:0: [sdd] Unhandled sense code
Nov  5 01:06:01 localhost kernel: [18265.182766] sd 16:0:0:0: [sdd]  Result: hostbyte=0x00 driverbyte=0x08
Nov  5 01:06:01 localhost kernel: [18265.182775] sd 16:0:0:0: [sdd]  Sense Key : 0x3 [current] 
Nov  5 01:06:01 localhost kernel: [18265.182791] sd 16:0:0:0: [sdd]  ASC=0x11 ASCQ=0x0
Nov  5 01:06:01 localhost kernel: [18265.182794] sd 16:0:0:0: [sdd] CDB: cdb[0]=0x28: 28 00 00 00 08 00 00 00 08 00
Nov  5 01:06:04 localhost kernel: [18267.855368] sd 16:0:0:0: [sdd] Unhandled sense code
Nov  5 01:06:04 localhost kernel: [18267.855377] sd 16:0:0:0: [sdd]  Result: hostbyte=0x00 driverbyte=0x08
Nov  5 01:06:04 localhost kernel: [18267.855385] sd 16:0:0:0: [sdd]  Sense Key : 0x3 [current] 
Nov  5 01:06:04 localhost kernel: [18267.855394] sd 16:0:0:0: [sdd]  ASC=0x11 ASCQ=0x0
Nov  5 01:06:04 localhost kernel: [18267.855401] sd 16:0:0:0: [sdd] CDB: cdb[0]=0x28: 28 00 00 00 08 00 00 00 08 00
Nov  5 01:06:07 localhost kernel: [18270.494148] sd 16:0:0:0: [sdd] Unhandled sense code
Nov  5 01:06:07 localhost kernel: [18270.494158] sd 16:0:0:0: [sdd]  Result: hostbyte=0x00 driverbyte=0x08
Nov  5 01:06:07 localhost kernel: [18270.494174] sd 16:0:0:0: [sdd]  Sense Key : 0x3 [current] 
Nov  5 01:06:07 localhost kernel: [18270.494178] sd 16:0:0:0: [sdd]  ASC=0x11 ASCQ=0x0
Nov  5 01:06:07 localhost kernel: [18270.494182] sd 16:0:0:0: [sdd] CDB: cdb[0]=0x28: 28 00 00 00 08 00 00 00 08 00
Nov  5 01:06:42 localhost kernel: [18305.862436] sd 16:0:0:0: [sdd] Unhandled sense code
Nov  5 01:06:42 localhost kernel: [18305.862445] sd 16:0:0:0: [sdd]  Result: hostbyte=0x00 driverbyte=0x08
Nov  5 01:06:42 localhost kernel: [18305.862453] sd 16:0:0:0: [sdd]  Sense Key : 0x3 [current] 
Nov  5 01:06:42 localhost kernel: [18305.862462] sd 16:0:0:0: [sdd]  ASC=0x11 ASCQ=0x0
Nov  5 01:06:42 localhost kernel: [18305.862469] sd 16:0:0:0: [sdd] CDB: cdb[0]=0x28: 28 00 00 00 08 00 00 00 20 00
Nov  5 01:06:45 localhost kernel: [18308.489035] sd 16:0:0:0: [sdd] Unhandled sense code
Nov  5 01:06:45 localhost kernel: [18308.489053] sd 16:0:0:0: [sdd]  Result: hostbyte=0x00 driverbyte=0x08
Nov  5 01:06:45 localhost kernel: [18308.489056] sd 16:0:0:0: [sdd]  Sense Key : 0x3 [current] 
Nov  5 01:06:45 localhost kernel: [18308.489059] sd 16:0:0:0: [sdd]  ASC=0x11 ASCQ=0x0
Nov  5 01:06:45 localhost kernel: [18308.489062] sd 16:0:0:0: [sdd] CDB: cdb[0]=0x28: 28 00 00 00 08 00 00 00 08 00
Nov  5 01:06:53 localhost kernel: [18316.839710] usb 2-2: USB disconnect, device number 6
Nov  5 01:08:04 localhost kernel: [18387.214570] usb 2-2: new high-speed USB device number 7 using xhci_hcd
Nov  5 01:08:04 localhost kernel: [18387.232514] usb 2-2: ep 0x81 - rounding interval to 32768 microframes, ep desc says 0 microframes
Nov  5 01:08:04 localhost kernel: [18387.232522] usb 2-2: ep 0x2 - rounding interval to 32768 microframes, ep desc says 0 microframes
Nov  5 01:08:04 localhost kernel: [18387.234069] scsi17 : usb-storage 2-2:1.0
Nov  5 01:08:05 localhost kernel: [18388.233935] scsi 17:0:0:0: Direct-Access     WD       My Passport 0740 1003 PQ: 0 ANSI: 6
Nov  5 01:08:05 localhost kernel: [18388.235615] scsi 17:0:0:1: Enclosure         WD       SES Device       1003 PQ: 0 ANSI: 6
Nov  5 01:08:05 localhost kernel: [18388.235865] ses 17:0:0:1: Attached Enclosure device
Nov  5 01:08:11 localhost kernel: [18394.849530] sd 17:0:0:0: [sdd] 1953458176 512-byte logical blocks: (1.00 TB/931 GiB)
Nov  5 01:08:11 localhost kernel: [18394.850801] sd 17:0:0:0: [sdd] Write Protect is off
Nov  5 01:08:11 localhost kernel: [18394.871520]  sdd: sdd1 sdd2 sdd3
Nov  5 01:08:11 localhost kernel: [18394.874319] sd 17:0:0:0: [sdd] Attached SCSI disk
Nov  5 01:08:14 localhost kernel: [18397.585400] sd 17:0:0:0: [sdd] Unhandled sense code
Nov  5 01:08:14 localhost kernel: [18397.585410] sd 17:0:0:0: [sdd]  Result: hostbyte=0x00 driverbyte=0x08
Nov  5 01:08:14 localhost kernel: [18397.585419] sd 17:0:0:0: [sdd]  Sense Key : 0x3 [current] 
Nov  5 01:08:14 localhost kernel: [18397.585430] sd 17:0:0:0: [sdd]  ASC=0x11 ASCQ=0x0
Nov  5 01:08:14 localhost kernel: [18397.585438] sd 17:0:0:0: [sdd] CDB: cdb[0]=0x28: 28 00 00 00 08 00 00 00 08 00
Nov  5 01:08:17 localhost kernel: [18400.223961] sd 17:0:0:0: [sdd] Unhandled sense code
Nov  5 01:08:17 localhost kernel: [18400.223968] sd 17:0:0:0: [sdd]  Result: hostbyte=0x00 driverbyte=0x08
Nov  5 01:08:17 localhost kernel: [18400.223973] sd 17:0:0:0: [sdd]  Sense Key : 0x3 [current] 
Nov  5 01:08:17 localhost kernel: [18400.223979] sd 17:0:0:0: [sdd]  ASC=0x11 ASCQ=0x0
Nov  5 01:08:17 localhost kernel: [18400.223984] sd 17:0:0:0: [sdd] CDB: cdb[0]=0x28: 28 00 00 00 08 00 00 00 08 00
Nov  5 01:08:19 localhost kernel: [18402.977447] sd 17:0:0:0: [sdd] Unhandled sense code
Nov  5 01:08:19 localhost kernel: [18402.977457] sd 17:0:0:0: [sdd]  Result: hostbyte=0x00 driverbyte=0x08
Nov  5 01:08:19 localhost kernel: [18402.977465] sd 17:0:0:0: [sdd]  Sense Key : 0x3 [current] 
Nov  5 01:08:19 localhost kernel: [18402.977474] sd 17:0:0:0: [sdd]  ASC=0x11 ASCQ=0x0
Nov  5 01:08:19 localhost kernel: [18402.977481] sd 17:0:0:0: [sdd] CDB: cdb[0]=0x28: 28 00 00 00 08 00 00 00 08 00
Nov  5 01:08:22 localhost kernel: [18405.707951] sd 17:0:0:0: [sdd] Unhandled sense code
Nov  5 01:08:22 localhost kernel: [18405.707957] sd 17:0:0:0: [sdd]  Result: hostbyte=0x00 driverbyte=0x08
Nov  5 01:08:22 localhost kernel: [18405.707963] sd 17:0:0:0: [sdd]  Sense Key : 0x3 [current] 
Nov  5 01:08:22 localhost kernel: [18405.707969] sd 17:0:0:0: [sdd]  ASC=0x11 ASCQ=0x0
Nov  5 01:08:22 localhost kernel: [18405.707973] sd 17:0:0:0: [sdd] CDB: cdb[0]=0x28: 28 00 00 00 08 00 00 00 08 00
Nov  5 01:08:25 localhost kernel: [18408.587349] sd 17:0:0:0: [sdd] Unhandled sense code
Nov  5 01:08:25 localhost kernel: [18408.587358] sd 17:0:0:0: [sdd]  Result: hostbyte=0x00 driverbyte=0x08
Nov  5 01:08:25 localhost kernel: [18408.587366] sd 17:0:0:0: [sdd]  Sense Key : 0x3 [current] 
Nov  5 01:08:25 localhost kernel: [18408.587375] sd 17:0:0:0: [sdd]  ASC=0x11 ASCQ=0x0
Nov  5 01:08:25 localhost kernel: [18408.587382] sd 17:0:0:0: [sdd] CDB: cdb[0]=0x28: 28 00 00 00 08 00 00 00 08 00
Nov  5 01:08:28 localhost kernel: [18411.249304] sd 17:0:0:0: [sdd] Unhandled sense code
Nov  5 01:08:28 localhost kernel: [18411.249309] sd 17:0:0:0: [sdd]  Result: hostbyte=0x00 driverbyte=0x08
Nov  5 01:08:28 localhost kernel: [18411.249312] sd 17:0:0:0: [sdd]  Sense Key : 0x3 [current] 
Nov  5 01:08:28 localhost kernel: [18411.249315] sd 17:0:0:0: [sdd]  ASC=0x11 ASCQ=0x0
Nov  5 01:08:28 localhost kernel: [18411.249318] sd 17:0:0:0: [sdd] CDB: cdb[0]=0x28: 28 00 00 00 08 00 00 00 08 00
Nov  5 01:08:30 localhost kernel: [18413.921612] sd 17:0:0:0: [sdd] Unhandled sense code
Nov  5 01:08:30 localhost kernel: [18413.921621] sd 17:0:0:0: [sdd]  Result: hostbyte=0x00 driverbyte=0x08
Nov  5 01:08:30 localhost kernel: [18413.921629] sd 17:0:0:0: [sdd]  Sense Key : 0x3 [current] 
Nov  5 01:08:30 localhost kernel: [18413.921638] sd 17:0:0:0: [sdd]  ASC=0x11 ASCQ=0x0
Nov  5 01:08:30 localhost kernel: [18413.921645] sd 17:0:0:0: [sdd] CDB: cdb[0]=0x28: 28 00 00 00 08 00 00 00 08 00
Nov  5 01:08:33 localhost kernel: [18416.559896] sd 17:0:0:0: [sdd] Unhandled sense code
Nov  5 01:08:33 localhost kernel: [18416.559909] sd 17:0:0:0: [sdd]  Result: hostbyte=0x00 driverbyte=0x08
Nov  5 01:08:33 localhost kernel: [18416.559921] sd 17:0:0:0: [sdd]  Sense Key : 0x3 [current] 
Nov  5 01:08:33 localhost kernel: [18416.559935] sd 17:0:0:0: [sdd]  ASC=0x11 ASCQ=0x0
Nov  5 01:08:33 localhost kernel: [18416.559946] sd 17:0:0:0: [sdd] CDB: cdb[0]=0x28: 28 00 00 00 08 00 00 00 08 00
Nov  5 01:08:36 localhost kernel: [18419.198892] sd 17:0:0:0: [sdd] Unhandled sense code
Nov  5 01:08:36 localhost kernel: [18419.198901] sd 17:0:0:0: [sdd]  Result: hostbyte=0x00 driverbyte=0x08
Nov  5 01:08:36 localhost kernel: [18419.198909] sd 17:0:0:0: [sdd]  Sense Key : 0x3 [current] 
Nov  5 01:08:36 localhost kernel: [18419.198917] sd 17:0:0:0: [sdd]  ASC=0x11 ASCQ=0x0
Nov  5 01:08:36 localhost kernel: [18419.198924] sd 17:0:0:0: [sdd] CDB: cdb[0]=0x28: 28 00 00 00 08 00 00 00 08 00
Nov  5 01:08:38 localhost kernel: [18421.836422] sd 17:0:0:0: [sdd] Unhandled sense code
Nov  5 01:08:38 localhost kernel: [18421.836439] sd 17:0:0:0: [sdd]  Result: hostbyte=0x00 driverbyte=0x08
Nov  5 01:08:38 localhost kernel: [18421.836442] sd 17:0:0:0: [sdd]  Sense Key : 0x3 [current] 
Nov  5 01:08:38 localhost kernel: [18421.836445] sd 17:0:0:0: [sdd]  ASC=0x11 ASCQ=0x0
Nov  5 01:08:38 localhost kernel: [18421.836448] sd 17:0:0:0: [sdd] CDB: cdb[0]=0x28: 28 00 00 00 08 00 00 00 08 00
Nov  5 01:08:41 localhost kernel: [18424.521043] sd 17:0:0:0: [sdd] Unhandled sense code
Nov  5 01:08:41 localhost kernel: [18424.521053] sd 17:0:0:0: [sdd]  Result: hostbyte=0x00 driverbyte=0x08
Nov  5 01:08:41 localhost kernel: [18424.521061] sd 17:0:0:0: [sdd]  Sense Key : 0x3 [current] 
Nov  5 01:08:41 localhost kernel: [18424.521070] sd 17:0:0:0: [sdd]  ASC=0x11 ASCQ=0x0
Nov  5 01:08:41 localhost kernel: [18424.521077] sd 17:0:0:0: [sdd] CDB: cdb[0]=0x28: 28 00 00 00 08 00 00 00 08 00
Nov  5 01:08:44 localhost kernel: [18427.158620] sd 17:0:0:0: [sdd] Unhandled sense code
Nov  5 01:08:44 localhost kernel: [18427.158627] sd 17:0:0:0: [sdd]  Result: hostbyte=0x00 driverbyte=0x08
Nov  5 01:08:44 localhost kernel: [18427.158632] sd 17:0:0:0: [sdd]  Sense Key : 0x3 [current] 
Nov  5 01:08:44 localhost kernel: [18427.158638] sd 17:0:0:0: [sdd]  ASC=0x11 ASCQ=0x0
Nov  5 01:08:44 localhost kernel: [18427.158643] sd 17:0:0:0: [sdd] CDB: cdb[0]=0x28: 28 00 00 00 08 00 00 00 08 00
testdisk.log, orignally of 560mb , what you see here is first and last 100 lines
Code:
attached
this is what i get now, when i insert my hd
Code:
Nov  5 01:08:44 localhost kernel: [18427.158620] sd 17:0:0:0: [sdc] Unhandled sense code
Nov  5 01:08:44 localhost kernel: [18427.158627] sd 17:0:0:0: [sdc]  Result: hostbyte=0x00 driverbyte=0x08
Nov  5 01:08:44 localhost kernel: [18427.158632] sd 17:0:0:0: [sdc]  Sense Key : 0x3 [current] 
Nov  5 01:08:44 localhost kernel: [18427.158638] sd 17:0:0:0: [sdc]  ASC=0x11 ASCQ=0x0
Nov  5 01:08:44 localhost kernel: [18427.158643] sd 17:0:0:0: [sdc] CDB: cdb[0]=0x28: 28 00 00 00 08 00 00 00 08 00
but surprisingly, sdc2 (ext4) and sdc3 (ntfs) working fine. what is this !!!

thanks
Attached Files
File Type: log testdisk.log (12.2 KB, 33 views)
 
Old 11-05-2012, 12:13 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by ununun View Post
Code:
Sense Key: 0x3 0x11 0x0
According to Wikipedia this means "Medium Error - nonrecoverable read error".


Quote:
Originally Posted by ununun View Post
what is this !!!
I don't know but apparently your WD Passport connected just fine, then disconnected after approximately 4 hours w/o error message and w/o ever re-connecting back properly and if you search the 'net for phrases like "wd my passport 0740 not recognized" you'll find page upon page of WD horror stories. Common problems:
- disk died,
- host underpowered (external device w/o power adapter),
- cable b0rked or too long,
- flaky enclosure chipset,
- kernel driver bug,
- bad connector.
But AFAIK none of that applies as you say you can access the other partitions. Apart from the complete lack of errors the only thing to say about mounted partitions is the kernel expects to write clean / dirty state back to disk before umounting. And that applies to the mounted partition alone, it doesn't affect other partitions nor the Partition Table. Couple more questions:
- Can you confirm the Passport has or doesn't have its own power adapter?
- Do you use the USB 3.0 cable it came with?
- How long before the errors did you re-format your Passport from factory layout to your 3 partition scheme and did that succeed without any errors?
- You say sdc1 is Ext4, Testdisk says LUKS. Did you (attempt to) encrypt sdc1?
- Can you boot the machine with a Live CD and see if that kernel version works?
- Can the machine run another OS or can you attach it to a machine running another OS?
- Would you be willing to (wrt RMA) / can you open the enclosure (remove Phillips screw, depress plastic retainer on both ends of the case) and connect the device to a machine directly to bypass the enclosure chipset?
 
Old 11-05-2012, 04:12 PM   #5
ununun
Member
 
Registered: Jun 2011
Posts: 82

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by unSpawn View Post
Can you confirm the Passport has or doesn't have its own power adapter?
no, the power is drawn from the usb 3.0 cable.

Quote:
Originally Posted by unSpawn View Post
Do you use the USB 3.0 cable it came with?
yes.
Quote:
Originally Posted by unSpawn View Post
How long before the errors did you re-format your Passport from factory layout to your 3 partition scheme and did that succeed without any errors?
yes i got around mid may of this year, formatted similarly back then. but there been no error at all,at any stage. cause i would have scrutinized it thoroughly as it hold very important data. the hd (or partition) did not even gave me a chance, to backup my data.

Quote:
Originally Posted by unSpawn View Post
You say sdc1 is Ext4, Testdisk says LUKS. Did you (attempt to) encrypt sdc1?
no its pure ext4. no encryption at all.

Quote:
Originally Posted by unSpawn View Post
Can you boot the machine with a Live CD and see if that kernel version works?
i dont have a pen drive (or a cd) at the moment. if it works, i could update my arch (as i have not done it for months) and try
newer linux 3.6.5-1 (current:3.4.9-1). e2fsprogs is about latest. (current: 1.42.5-1, new:1.42.6-1).

Quote:
Originally Posted by unSpawn View Post
Can the machine run another OS or can you attach it to a machine running another OS?
no arch linux is only os installed. though i have microxp installed in virtualbox. i will try it, post about it later.

Quote:
Originally Posted by unSpawn View Post
Would you be willing to (wrt RMA) / can you open the enclosure (remove Phillips screw, depress plastic retainer on both ends of the case) and connect the device to a machine directly to bypass the enclosure chipset?
i dont know if it will void warranty, cause i dont see any sticker nor phillips screw. here is the amazon page for more detail. at the moment i dont know how to do this, but i wll if/when it is required.

s.m.a.r.t info:
Code:
smartctl 6.0 2012-10-10 r3643 [x86_64-linux-3.4.9-1-ARCH] (local build)
Copyright (C) 2002-12, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital My Passport (USB, AF)
Device Model:     WDC WD10TMVW-11ZSMS4
Serial Number:    xxxx
LU WWN Device Id: xxxx
Firmware Version: 01.01A01
User Capacity:    1,000,204,886,016 bytes [1.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5200 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 2.6, 3.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Mon Nov  5 22:09:45 2012 IST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART STATUS RETURN: incomplete response, ATA output registers missing
SMART overall-health self-assessment test result: PASSED
Warning: This result is based on an Attribute check.

General SMART Values:
Offline data collection status:  (0x00)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		(26460) seconds.
Offline data collection
capabilities: 			 (0x7b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					Conveyance Self-test supported.
					Selective Self-test supported.
SMART capabilities:            (0x0003)	Saves SMART data before entering
					power-saving mode.
					Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 ( 257) minutes.
Conveyance self-test routine
recommended polling time: 	 (   5) minutes.
SCT capabilities: 	       (0x7035)	SCT Status supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   200   200   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0027   167   162   021    Pre-fail  Always       -       4608
  4 Start_Stop_Count        0x0032   099   099   000    Old_age   Always       -       1054
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   098   098   000    Old_age   Always       -       1494
 10 Spin_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   100   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       574
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       406
193 Load_Cycle_Count        0x0032   195   195   000    Old_age   Always       -       17202
194 Temperature_Celsius     0x0022   119   100   000    Old_age   Always       -       31
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       1
198 Offline_Uncorrectable   0x0030   100   253   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0008   100   253   000    Old_age   Offline      -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Completed: read failure       90%      1492         2048
# 2  Short offline       Completed: read failure       90%      1492         2048

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

the hd has some securitly feature like password protection and encryption, and apparently its only for pc and mac. so i have not tried this at all, not even been curious. this page and ATA failure something in smartctl info hints the my hd might have locked down. but i dont understand why it would be just a partition. though i am going to rule out this possiblity in virtualbox.

thanks

Last edited by ununun; 11-05-2012 at 04:15 PM.
 
Old 11-07-2012, 09:42 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Any follow ups wrt you testing things?
 
Old 11-07-2012, 10:19 AM   #7
ununun
Member
 
Registered: Jun 2011
Posts: 82

Original Poster
Rep: Reputation: Disabled
i still have windows based testing to do. eta on that is 24 hrs.

testing with updated linux and e2fsprogs was waste of time. nothing new happened.

i have not tried to open the enclosure i think i will hold on it as my last resort.

Code:
$ dd if=/dev/sdc1 skip=8
does write gibbrish. so i think not all sectors are unreadable. i will try to ddrescue it as soon as i get enough-big hd.

i am also seeking help at hddguru http://forum.hddguru.com/one-partiti...rs-t24409.html

thanks
 
Old 11-08-2012, 10:49 AM   #8
ununun
Member
 
Registered: Jun 2011
Posts: 82

Original Poster
Rep: Reputation: Disabled
i tried my friend's laptop which has win 8 enterprise with usb 3.0 connector.

so there was no password set on hd. but the software/win8 did something to it. now fdisk only gives one partition.
Code:
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x03c92cce

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            2048  1953536129   976767041    7  HPFS/NTFS/exFAT
so that was not fun because i have not made a backup yet.

i am going to ddrescue the hd as soon as i finish this post. what would you recommend to compress it as much as possible, may it take 24-30 hrs to complete ?

thanks
 
Old 11-08-2012, 11:28 AM   #9
jheengut
Member
 
Registered: Sep 2006
Location: Providence, Moka Mauritius
Distribution: Slackware, Lubuntu
Posts: 352
Blog Entries: 16

Rep: Reputation: 51
try the folowing code again and see if there are any I/O error


Code:
$ dd if=/dev/sdc1 > /mnt/sg/fs
 
Old 11-08-2012, 11:51 AM   #10
ununun
Member
 
Registered: Jun 2011
Posts: 82

Original Poster
Rep: Reputation: Disabled
fdisk -l is back to earlier output.

so the code fails. thanks for your input though, jheengut.

saving the data is utmost priority now ...

i think geting the hd replaced ,again, (may be, with different ext hd) is better option , than opening the enclousre and possibly void warranty.
 
Old 11-08-2012, 11:51 AM   #11
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by ununun View Post
i tried my friend's laptop which has win 8 enterprise with usb 3.0 connector. (..) the software/win8 did something to it. now fdisk only gives one partition. (..) so that was not fun because i have not made a backup yet.
That indeed isn't funny. If only I had remembered earlier I would have suggested editing the registry before connecting the device. For future reference: open the registry editor on HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\StorageDevicePolicies, create a DWORD called WriteProtect and set it to "1". Close editor, then connect. While it's not as definitive as using an actual wrote blocker it "could do".


Quote:
Originally Posted by ununun View Post
Code:
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            2048  1953536129   976767041    7  HPFS/NTFS/exFAT
So Windows 8 basically partitioned the whole disk as one big NTFS partition. Now if it didn't offer to format the partition as NTFS then there's a (very) slight chance it changed the partition table only. If that is the case then you could manually recreate the partitions from the fdisk output in your OP or have Testdisk try and recover the partitions. Should you be able to recreate partitions then you should expect sdc1 not to be readable as the formatting process overlayed the ext4fs file system structure with the NTFS one. While formatting lowers chances of recovery dramatically Photorec should still be able to extract files if their format is complete (includes both header and footer).


Quote:
Originally Posted by ununun View Post
i am going to ddrescue the hd as soon as i finish this post. what would you recommend to compress it as much as possible, may it take 24-30 hrs to complete ?
I would not take any more chances, split the case open and see if I could connect the hard disk to a machine without damaging it first. That's your choice but it would be the only way to overcome the SCSI layer errors you've seen, removing the extra USB layer by direct connection would be good for performance and the disk doesn't have to be mounted to be read by disk duplication tools. Asserting the disks hardware is OK otherwise you could use dd + bzip2 instead of ddrescue or dd_rescue (unless you experience or expect hardware errors already) because data acquisition tools like Linen or FTK Imager (HELIX or DEFT Live CD) do, but ddrescue nor dd_rescue compresses its output file. Given the fact you said 800+ GB worth of data you may not be getting a good compression ratio anyway if the oriiginal files were already compressed (music, movies, OpenOffice-like document formats) plus Photorec doesn't deal with compressed disk images as far as I know.
 
Old 11-08-2012, 12:00 PM   #12
ununun
Member
 
Registered: Jun 2011
Posts: 82

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by unSpawn View Post
I would not take any more chances, split the case open and see if I could connect the hard disk to a machine without damaging it first. That's your choice but it would be the only way to overcome the SCSI layer errors you've seen, removing the extra USB layer by direct connection would be good for performance and the disk doesn't have to be mounted to be read by disk duplication tools.
ok, then let me google how to do that and also confirm if it void the warranty.
 
Old 11-08-2012, 12:13 PM   #13
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
To put it simply a vendor would be insane it they don't: "(..) warranty does not cover products which have been received improperly packaged, altered, or physically damaged. Products will be inspected upon receipt." (http://support.wdc.com/warranty/policy.asp). Google for "open casing WD Passport Essential" and you'll find at least four YouTube videos.
 
Old 11-11-2012, 05:21 AM   #14
ununun
Member
 
Registered: Jun 2011
Posts: 82

Original Poster
Rep: Reputation: Disabled
i have opened the encloure but it seems it does not have sata connector instead there is 2 pin (..) and 12 pin ( :::::: ) on either side of the female plug. the plug is fixed to the green motherboard of internal hd. the model number for hd is WD10TMVW - 11ZSMS4. image https://lh3.ggpht.com/-BtzB-wE5mA8/T...0/P1000223.JPG

i was expecting, sata female plug like regular sata drives. is there any way i can bypass usb connection like unspawn suggested ?

well i did all this after my unsuccusfull attempt to clone the drive using dd + xz. frequent disconnection that happens now might prevent the cloning . i dont know if ddrescue is resilient of this.

thanks

Last edited by ununun; 11-11-2012 at 01:31 PM.
 
Old 11-12-2012, 03:39 PM   #15
ununun
Member
 
Registered: Jun 2011
Posts: 82

Original Poster
Rep: Reputation: Disabled
ddrescue rescued 99.999 of my data.
the ddrescue log
Code:
# Rescue Logfile. Created by GNU ddrescue version 1.16
# Command line: ddrescue --block-size 16M -vv --sparse /dev/sdc1 p1 log.p1
# current_pos  current_status
0x00F42400     +
#      pos        size  status
0x00000000  0x00F42400  -
0x00F42400  0xDBB90BDC00  +
the first 16 mbytes was rescued by dd. please note first 4 kbytes of data is still unrecoverable, i always get io errors in syslog.
Code:
$ dd if=/dev/sdc1 of=p1 seek=8 skip=8 count=$[16000000/512-8] conv=notrunc
so i have all of my data execept the first 4 kbytes.

can i create new ext4 partition over p1 and get my old filesystem with same data back (as if nothing happened).

thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] I need help converting a vfat extended partition into a ext4 partition zorro70 Linux - General 6 02-15-2011 08:55 PM
[SOLVED] Space missing from ext4 filesystem Ubuntu 10.10 Intiakel Linux - Software 2 12-26-2010 11:19 PM
missing bootup messages after conversion to ext4 Andy Alt Slackware 1 07-04-2009 08:44 PM
Ext4 partition corrupted by resized NTFS Vista C:\ partition? graviton-boson Linux - Newbie 2 03-16-2009 01:26 PM
Does linux really writes to vfat partition? dodgethis Linux - General 14 09-16-2004 06:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration