LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Mounting a (FAILING) harddrive with LVM Partitions via USB (http://www.linuxquestions.org/questions/linux-general-1/mounting-a-failing-harddrive-with-lvm-partitions-via-usb-4175450603/)

average_joe 02-17-2013 11:59 PM

Mounting a (FAILING) harddrive with LVM Partitions via USB
 
I have a hard drive that is starting to fail and it has two partitions. The first partition is the main root partition of the drive and the second partition is part of an LVM partition along with the partition on another drive. I pulled the drive out and am trying to connect the drive to another pc via a SATA-to-USB connection. However, whenever I try and mount the drive I get a popup with a generic error message in it saying the partitions couldn't be mounted for some various reason. Below is are the messages in the log file that occured when I tried to connect the drive to the computer.


Feb 18 00:38:19 Sony-Vaio kernel: [ 2543.525913] usb 2-1.2: new high speed USB device using ehci_hcd and address 5
Feb 18 00:38:19 Sony-Vaio kernel: [ 2543.619496] usb 2-1.2: New USB device found, idVendor=152d, idProduct=2338
Feb 18 00:38:19 Sony-Vaio kernel: [ 2543.619503] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=5
Feb 18 00:38:19 Sony-Vaio kernel: [ 2543.619508] usb 2-1.2: Product: USB to ATA/ATAPI bridge
Feb 18 00:38:19 Sony-Vaio kernel: [ 2543.619512] usb 2-1.2: Manufacturer: JMicron
Feb 18 00:38:19 Sony-Vaio kernel: [ 2543.619516] usb 2-1.2: SerialNumber: 000000000000
Feb 18 00:38:19 Sony-Vaio kernel: [ 2543.619663] usb 2-1.2: configuration #1 chosen from 1 choice
Feb 18 00:38:19 Sony-Vaio kernel: [ 2543.621332] scsi8 : SCSI emulation for USB Mass Storage devices
Feb 18 00:38:24 Sony-Vaio kernel: [ 2548.620123] scsi 8:0:0:0: Direct-Access ST375033 0AS PQ: 0 ANSI: 2 CCS
Feb 18 00:38:24 Sony-Vaio kernel: [ 2548.621065] sd 8:0:0:0: Attached scsi generic sg2 type 0
Feb 18 00:38:24 Sony-Vaio kernel: [ 2548.622244] sd 8:0:0:0: [sdb] 1465149168 512-byte logical blocks: (750 GB/698 GiB)
Feb 18 00:38:24 Sony-Vaio kernel: [ 2548.622975] sd 8:0:0:0: [sdb] Write Protect is off
Feb 18 00:38:24 Sony-Vaio kernel: [ 2548.624510] sdb: sdb1 sdb2 < sdb5 > sdb3
Feb 18 00:38:24 Sony-Vaio kernel: [ 2548.668937] sd 8:0:0:0: [sdb] Attached SCSI disk
Feb 18 00:38:28 Sony-Vaio kernel: [ 2552.148466] sd 8:0:0:0: [sdb] Unhandled sense code
Feb 18 00:38:28 Sony-Vaio kernel: [ 2552.148473] sd 8:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Feb 18 00:38:28 Sony-Vaio kernel: [ 2552.148479] sd 8:0:0:0: [sdb] Sense Key : Medium Error [current]
Feb 18 00:38:28 Sony-Vaio kernel: [ 2552.148486] sd 8:0:0:0: [sdb] Add. Sense: Unrecovered read error
Feb 18 00:38:28 Sony-Vaio kernel: [ 2552.148493] sd 8:0:0:0: [sdb] CDB: Read(10): 28 00 01 05 e9 d8 00 00 f0 00
Feb 18 00:38:28 Sony-Vaio kernel: [ 2552.148616] JBD: recovery failed
Feb 18 00:38:28 Sony-Vaio kernel: [ 2552.306697] sd 8:0:0:0: [sdb] Unhandled sense code
Feb 18 00:38:28 Sony-Vaio kernel: [ 2552.306702] sd 8:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Feb 18 00:38:28 Sony-Vaio kernel: [ 2552.306709] sd 8:0:0:0: [sdb] Sense Key : Medium Error [current]
Feb 18 00:38:28 Sony-Vaio kernel: [ 2552.306715] sd 8:0:0:0: [sdb] Add. Sense: Unrecovered read error
Feb 18 00:38:28 Sony-Vaio kernel: [ 2552.306722] sd 8:0:0:0: [sdb] CDB: Read(10): 28 00 01 05 ea c8 00 00 10 00


I'm not really sure where to go from here. All I'm trying to do is recover as much data on the drive as possible so I can replace the drive and not lose anything that I have on there.

Thanks for any help that can be given

H_TeXMeX_H 02-18-2013 03:44 AM

The best thing to do is connect the drive using a SATA cable (not USB), and image the entire drive using 'ddrescue' to a known good disk of equal or larger size.

average_joe 02-26-2013 09:29 AM

Thanks for the advice H_TeXMeX_H. I was able to get the drive backed up and am in the process of replacing it with a new drive. Thanks for the help.


All times are GMT -5. The time now is 09:09 AM.