Hello,
I've a friend's HDD I need to dd+fix; it's attached on a Sharkoon USB3 disk enclosure. As the disk has some bad blocks, the umass driver keeps detaching it after 5 retries, which is PITA as I need first to do a dd of it. It's a FreeBSD 10 box.
Disk is nicely attached:
I try to make an image file first:
But the disk detaches after the first 5 errors are found:
I've read/tried all those "usbconfig", "umass quirks", "camcontrol", "sysctl" commands I could imagine are related to this problem but had no luck so far. The other question in this context: usbconfig was unable to list/find/cfg the once-detached da11 - is this by design? The device just disappears - I thought I could rescan/powerOn, but it's just vanished.
Any umass/disk guru here ? As a very last fallback I would attach it onto the MB SATA directly, but I would like to know if it's possible to do it via USB, as it would be much more usable!
Thank you,
Andrej
I've a friend's HDD I need to dd+fix; it's attached on a Sharkoon USB3 disk enclosure. As the disk has some bad blocks, the umass driver keeps detaching it after 5 retries, which is PITA as I need first to do a dd of it. It's a FreeBSD 10 box.
Disk is nicely attached:
Code:
Aug 28 19:28:04 nasko ugen0.7: <JMicron> at usbus0
Aug 28 19:28:04 nasko umass3: <JMicron USB to ATAATAPI Bridge, class 0/0, rev 3.00/1.00, addr 6> on usbus0
Aug 28 19:28:04 nasko umass3: SCSI over Bulk-Only; quirks = 0x8100
Aug 28 19:28:04 nasko umass3:11:3:-1: Attached to scbus11
Aug 28 19:28:04 nasko da11 at umass-sim3 bus 3 scbus11 target 0 lun 0
Aug 28 19:28:04 nasko da11: <WDC WD25 00AAJS-00L7A0 > Fixed Direct Access SCSI-2 device
Aug 28 19:28:04 nasko da11: Serial Number DA2453305FFF
Aug 28 19:28:04 nasko da11: 400.000MB/s transfers
Aug 28 19:28:04 nasko da11: 238475MB (488397168 512 byte sectors)
Aug 28 19:28:04 nasko da11: quirks=0x2<NO_6_BYTE>
I try to make an image file first:
dd if=/dev/da11 conv=sync,noerror bs=64K | gzip -c > /root/backup.img.gz
But the disk detaches after the first 5 errors are found:
Code:
Aug 28 19:58:14 nasko (da11:umass-sim3:3:0:0): Error 5, Retries exhausted
Aug 28 19:58:14 nasko da11 at umass-sim3 bus 3 scbus11 target 0 lun 0
Aug 28 19:58:14 nasko da11: <WDC WD25 00AAJS-00L7A0 > s/n DA2453305FFF detached
Aug 28 19:58:14 nasko (da11:umass-sim3:3:0:0): Periph destroyed
I've read/tried all those "usbconfig", "umass quirks", "camcontrol", "sysctl" commands I could imagine are related to this problem but had no luck so far. The other question in this context: usbconfig was unable to list/find/cfg the once-detached da11 - is this by design? The device just disappears - I thought I could rescan/powerOn, but it's just vanished.
Any umass/disk guru here ? As a very last fallback I would attach it onto the MB SATA directly, but I would like to know if it's possible to do it via USB, as it would be much more usable!
Thank you,
Andrej