Hi, I have a hard drive that crashed in some way or the other, and I'd like to see if I can access it, and ideally retrieve some of the files. I've connected it to a USB-bridge, but I fear it is beyond repair as it gets an error when I try to do disklabel: # disklabel sd1disklabel: ioctl DIOCGDINFO: Input/output error
I also tried scan_ffs in different ways:# scan_ffs /dev/rsd1c scan_ffs: read: Input/output error# scan_ffs /dev/sd1c scan_ffs: /dev/sd1c: No medium found # scan_ffs /dev/sd1 scan_ffs: /dev/sd1: No such file or directory # scan_ffs /dev/sd1a scan_ffs: /dev/sd1a: No medium found # scan_ffs /dev/rsd1a scan_ffs: /dev/rsd1a: No medium found -Should I just give up, or are there other options? Some info:# sysctl hw.disknameshw.disknames=sd0:1ea2ee1a14a6352d,cd0:,sd1: # dmesg OpenBSD 5.6 (GENERIC.MP) #299: Fri Aug 8 00:10:33 MDT 2014 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM)2 Duo CPU T9600 @ 2.80GHz ("GenuineIntel" 686-class) 1.29 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,V MX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,LAHF,PERF real mem = 3745349632 (3571MB) avail mem = 3671699456 (3501MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 08/11/09, BIOS32 rev. 0 @ 0xffa10, SMBIOS rev. 2.4 @ 0xf67a0 (55 entries) bios0: vendor Dell Inc. version "A07" date 08/11/2009 bios0: Dell Inc. Precision M6400 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP HPET DMAR APIC ASF! MCFG TCPA SLIC SSDT acpi0: wakeup devices PCI0(S5) PCIE(S4) USB1(S0) USB2(S0) USB3(S0) USB4(S0) USB5(S0) USB6(S0) EHC2(S0) EHCI(S0) AZAL(S3) RP01(S4) RP02(S4) RP03(S4) RP04(S3) RP05(S3) [...] acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) mtrr: Pentium Pro MTRR support, 7 var ranges, 88 fixed ranges cpu0: apic clock running at 266MHz cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU T9600 @ 2.80GHz ("GenuineIntel" 686-class) 2.80 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,V MX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,LAHF,PERF ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 2 acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63 acpiprt0 at acpi0: bus 3 (PCIE) acpiprt1 at acpi0: bus 1 (AGP_) acpiprt2 at acpi0: bus 11 (RP01) acpiprt3 at acpi0: bus 12 (RP02) acpiprt4 at acpi0: bus 13 (RP03) acpiprt5 at acpi0: bus 14 (RP04) acpiprt6 at acpi0: bus 16 (RP05) acpiprt7 at acpi0: bus 9 (RP06) acpiprt8 at acpi0: bus 0 (PCI0) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpitz0 at acpi0: critical temperature is 107 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: PBTN acpibtn2 at acpi0: SBTN acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT0 model "DELL H355F8A" serial 10297 type LION oem "Samsung SDI" acpivideo0 at acpi0: VID_ acpivout0 at acpivideo0: LCD_ bios0: ROM list: 0xc0000/0xe000 0xce000/0x2000 cpu0: Enhanced SpeedStep 2794 MHz: speeds: 2801, 2800, 2134, 1600 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel Q45 Host" rev 0x03 ppb0 at pci0 dev 1 function 0 "Intel Q45 PCIE" rev 0x03: apic 2 int 16 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 vendor "NVIDIA", unknown product 0x063a rev 0xa1 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x02: apic 2 int 20 uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x02: apic 2 int 21 uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x02: apic 2 int 22 ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x02: apic 2 int 22 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 "Intel 82801I HD Audio" rev 0x02: msi azalia0: codecs: IDT 92HD71B7 audio0 at azalia0 ppb1 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x02: apic 2 int 16 pci2 at ppb1 bus 11 ppb2 at pci0 dev 28 function 1 "Intel 82801I PCIE" rev 0x02: apic 2 int 17 pci3 at ppb2 bus 12 "Broadcom BCM4313" rev 0x01 at pci3 dev 0 function 0 not configured ppb3 at pci0 dev 28 function 2 "Intel 82801I PCIE" rev 0x02: apic 2 int 18 pci4 at ppb3 bus 13 ppb4 at pci0 dev 28 function 3 "Intel 82801I PCIE" rev 0x02: apic 2 int 19 pci5 at ppb4 bus 14 re0 at pci5 dev 0 function 0 "Realtek 8168" rev 0x06: RTL8168E/8111E-VL (0x2c80), msi, address 00:13:3b:85:05:69 rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 5 ppb5 at pci0 dev 28 function 4 "Intel 82801I PCIE" rev 0x02: apic 2 int 16 pci6 at ppb5 bus 16 ppb6 at pci0 dev 28 function 5 "Intel 82801I PCIE" rev 0x02: apic 2 int 17 pci7 at ppb6 bus 9 bge0 at pci7 dev 0 function 0 "Broadcom BCM5761E" rev 0x10, BCM5761 A1 (0x5761100): msi, address 00:21:70:8a:6a:44 brgphy0 at bge0 phy 1: BCM5761 10/100/1000baseT PHY, rev. 0 uhci3 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x02: apic 2 int 20 uhci4 at pci0 dev 29 function 1 "Intel 82801I USB" rev 0x02: apic 2 int 21 uhci5 at pci0 dev 29 function 2 "Intel 82801I USB" rev 0x02: apic 2 int 22 ehci1 at pci0 dev 29 function 7 "Intel 82801I USB" rev 0x02: apic 2 int 20 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb7 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x92 pci8 at ppb7 bus 3 cbb0 at pci8 dev 1 function 0 "Ricoh 5C476 CardBus" rev 0xba: apic 2 int 19 "Ricoh 5C832 Firewire" rev 0x04 at pci8 dev 1 function 1 not configured sdhc0 at pci8 dev 1 function 2 "Ricoh 5C822 SD/MMC" rev 0x21: apic 2 int 17 sdmmc0 at sdhc0 "Ricoh 5C843 MMC" rev 0x11 at pci8 dev 1 function 3 not configured "Ricoh 5C592 Memory Stick" rev 0x11 at pci8 dev 1 function 4 not configured "Ricoh 5C852 xD" rev 0x11 at pci8 dev 1 function 5 not configured cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 4 device 0 cacheline 0x10, lattimer 0x20 pcmcia0 at cardslot0 pcib0 at pci0 dev 31 function 0 "Intel 82801IEM LPC" rev 0x02 ahci0 at pci0 dev 31 function 2 "Intel 82801I AHCI" rev 0x02: msi, AHCI 1.2 scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 lun 0: <ATA, HGST HTS721010A9, JB0O> SCSI3 0/direct fixed naa.5000cca7dcc0805c sd0: 953869MB, 512 bytes/sector, 1953525168 sectors cd0 at scsibus1 targ 1 lun 0: <HL-DT-ST, DVD+-RW GS20N, A109> ATAPI 5/cdrom removable ichiic0 at pci0 dev 31 function 3 "Intel 82801I SMBus" rev 0x02: SMI iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-8500 SO-DIMM spdmem1 at iic0 addr 0x52: 2GB DDR3 SDRAM PC3-8500 SO-DIMM usb2 at uhci0: USB revision 1.0 uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb3 at uhci1: USB revision 1.0 uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb4 at uhci2: USB revision 1.0 uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb5 at uhci3: USB revision 1.0 uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb6 at uhci4: USB revision 1.0 uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb7 at uhci5: USB revision 1.0 uhub7 at usb7 "Intel UHCI root hub" rev 1.00/1.00 addr 1 isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 wsmouse1 at pms0 mux 0 pms0: Synaptics touchpad, firmware 7.0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 uvideo0 at uhub0 port 6 configuration 1 interface 0 "CN0TX61372487956ACDL Integrated Webcam" rev 2.00/87.31 addr 2 video0 at uvideo0 uhub8 at uhub2 port 1 "Broadcom BCM2046B1" rev 2.00/1.00 addr 2 uhidev0 at uhub8 port 1 configuration 1 interface 0 "Dell product 0x8157" rev 2.00/1.00 addr 3 uhidev0: iclass 3/1, 1 report id ukbd0 at uhidev0 reportid 1: 8 variable keys, 6 key codes wskbd1 at ukbd0 mux 1 wskbd1: connecting to wsdisplay0 uhidev1 at uhub8 port 2 configuration 1 interface 0 "Dell product 0x8158" rev 2.00/1.00 addr 4 uhidev1: iclass 3/1, 125 report ids ums0 at uhidev1 reportid 2: 3 buttons wsmouse2 at ums0 mux 0 uhid0 at uhidev1 reportid 125: input=2, output=0, feature=0 ugen0 at uhub4 port 1 "Broadcom Corp 5880" rev 1.10/1.01 addr 2 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets root on sd0a (1ea2ee1a14a6352d.a) swap on sd0b dump on sd0b pfsync: failed to receive bulk update umass0 at uhub1 port 4 configuration 1 interface 0 "JMicron USB to ATA/ATAPI Bridge" rev 2.00/1.00 addr 2 umass0: using SCSI over Bulk-Only scsibus4 at umass0: 2 targets, initiator 0 sd1 at scsibus4 targ 1 lun 0: <, , > SCSI2 0/direct fixed serial.152d2338152D203380B6 sd1 detached scsibus4 detached umass0 detached umass0 at uhub1 port 2 configuration 1 interface 0 "JMicron USB to ATA/ATAPI Bridge" rev 2.00/1.00 addr 2 umass0: using SCSI over Bulk-Only scsibus4 at umass0: 2 targets, initiator 0 sd1 at scsibus4 targ 1 lun 0: <, , > SCSI2 0/direct fixed serial.152d2338152D203380B6 #