Trying to analyze broken HDD - how to start?

paul.edi

New Member
Joined
Apr 7, 2019
Messages
4
Reaction score
0
Credits
45
Hi guys,

I wanted to try to repair / analyze a hard drive ...

It's about a "broken" hard drive that a friend gave me and I want to see if there is anything to save.

Hard drive: Seagate Barracuda 1000GB
I have an HDD Dock: Sharkoon - Quickport Combo (eSata) connected via eSATA.

I have already tried to connect to my Windows PC to see what happens.
The hard drive has not appeared in the disk management and I have not seen nothing about it in the device manager.

Now I wanted to see what and how I can do what under Linux ...
I just have to say, I don't even know where to start.
I am using Debian 10.4

It is not mounted on its own.
I don't see them in / dev / *** (although I don't know what letter that would be either)

So how do I start on the examining ...?
 


Try using S.M.A.R.T. See the link below:-

I'm with Tolkem.
If it doesn't show in the BIOS it's probably a sure bet it's dead as a door nail.

 
What is output of

lshw -class storage

or

fdisk -l
 
+1
Code:
fdisk -l
Also very likely dead if it doesnt show up with this command.
 
Hi all,

I tried now to connect the hdd doc with USB as well with same results:

Bash:
root@linuxy:~# fdisk -l
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Disk model: ST9500420AS    
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x45201b8b

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sda1  *         2048   2099199   2097152     1G  7 HPFS/NTFS/exFAT
/dev/sda2         2099200 526620671 524521472 250.1G  7 HPFS/NTFS/exFAT
/dev/sda3       946051072 976771071  30720000  14.7G 27 Hidden NTFS WinRE
/dev/sda4       526622718 946051071 419428354   200G  5 Extended
/dev/sda5       526622720 929513471 402890752 192.1G 83 Linux
/dev/sda6       929515520 946051071  16535552   7.9G 82 Linux swap / Solaris

Partition table entries are not in disk order.

Bash:
root@linuxy:~# lshw -class storage
  *-sata                  
       description: SATA controller
       product: 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller
       vendor: Intel Corporation
       physical id: 1f.2
       bus info: pci@0000:00:1f.2
       logical name: scsi0
       logical name: scsi1
       version: 04
       width: 32 bits
       clock: 66MHz
       capabilities: sata msi pm ahci_1.0 bus_master cap_list emulated
       configuration: driver=ahci latency=0
       resources: irq:25 ioport:50a8(size=8) ioport:50bc(size=4) ioport:50a0(size=8) ioport:50b8(size=4) ioport:5060(size=32) memory:f2528000-f25287ff


And I run as well dmesg ... and found some errors but not sure if this is connected in any way.
Bash:
[   13.563250] Bluetooth: Core ver 2.22
[   13.563265] NET: Registered protocol family 31
[   13.563266] Bluetooth: HCI device and connection manager initialized
[   13.563270] Bluetooth: HCI socket layer initialized
[   13.563272] Bluetooth: L2CAP socket layer initialized
[   13.563277] Bluetooth: SCO socket layer initialized
[   13.685569] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
[   13.685615] input: HDA Intel PCH Dock Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
[   13.685656] input: HDA Intel PCH Dock Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
[   13.685695] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input13
[   13.685734] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input14
[   13.685772] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input15
[   13.685810] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input16
[   13.855628] usbcore: registered new interface driver btusb
[   13.975063] kvm: disabled by bios
[   14.019743] kvm: disabled by bios
[   14.057969] kvm: disabled by bios
[   14.097957] kvm: disabled by bios
[   14.632684] intel_rapl: Found RAPL domain package
[   14.632689] intel_rapl: Found RAPL domain core
[   14.632692] intel_rapl: Found RAPL domain uncore
[   14.632706] intel_rapl: RAPL package 0 domain package locked by BIOS
[   15.012862] sr 1:0:0:0: [sr0] tag#5 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[   15.012870] sr 1:0:0:0: [sr0] tag#5 Sense Key : Illegal Request [current]
[   15.012876] sr 1:0:0:0: [sr0] tag#5 Add. Sense: Illegal mode for this track
[   15.012883] sr 1:0:0:0: [sr0] tag#5 CDB: Read(10) 28 00 00 02 9e 96 00 00 02 00
[   15.012887] print_req_error: I/O error, dev sr0, sector 686680
[   15.013079] attempt to access beyond end of device
[   15.013087] sr0: rw=0, want=686688, limit=686680
[   15.013092] Buffer I/O error on dev sr0, logical block 85835, async page read
[   15.129752] Adding 8267772k swap on /dev/sda6.  Priority:-2 extents:1 across:8267772k FS
[   18.652131] IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready
[   19.070119] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   19.070123] Bluetooth: BNEP filters: protocol multicast
[   19.070131] Bluetooth: BNEP socket layer initialized
[   20.225705] e1000e: enp0s25 NIC Link is Up 100 Mbps Full Duplex, Flow Control: Rx/Tx
[   20.225717] e1000e 0000:00:19.0 enp0s25: 10/100 speed: disabling TSO
[   20.225779] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s25: link becomes ready
[   24.106686] NET: Registered protocol family 3
[   24.429780] NET: Registered protocol family 5
[   30.391839] e1000e: enp0s25 NIC Link is Down
[   30.631981] IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready
[   30.940054] e1000e: enp0s25 NIC Link is Down
[   31.307889] IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready
[   32.793762] e1000e: enp0s25 NIC Link is Up 100 Mbps Full Duplex, Flow Control: Rx/Tx
[   32.793774] e1000e 0000:00:19.0 enp0s25: 10/100 speed: disabling TSO
[   32.793846] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s25: link becomes ready
[   34.419108] fuse init (API version 7.27)
[   68.323321] ISO 9660 Extensions: Microsoft Joliet Level 3
[   68.441598] ISO 9660 Extensions: RRIP_1991A
[  145.661391] VFS: busy inodes on changed media or resized disk sr0
[  160.624800] sr 1:0:0:0: [sr0] tag#4 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[  160.624809] sr 1:0:0:0: [sr0] tag#4 Sense Key : Illegal Request [current]
[  160.624815] sr 1:0:0:0: [sr0] tag#4 Add. Sense: Illegal mode for this track
[  160.624822] sr 1:0:0:0: [sr0] tag#4 CDB: Read(10) 28 00 00 02 9e 96 00 00 02 00
[  160.624827] print_req_error: I/O error, dev sr0, sector 686680
[  160.624923] attempt to access beyond end of device
[  160.624933] sr0: rw=0, want=686688, limit=686680
[  160.624938] Buffer I/O error on dev sr0, logical block 85835, async page read
[  162.590756] ISO 9660 Extensions: Microsoft Joliet Level 3
[  162.596637] ISO 9660 Extensions: RRIP_1991A
[  352.423832] TCP: enp0s25: Driver has suspect GRO implementation, TCP performance may be compromised.

In BIOS I cant find anything (I have a Lenovo Thinkpad T420) and smart is only working if I know the device name ... but I guess there is none.
 
If there is only one disk showing up in all these commands, it's most likely dead.
Do you have another disk you can try in the adpter?
 
Open a terminal and run dmesg. Then with the drive in a known working external enclosure, plug it into your machine. After the drive enclosure is plugged in, run dmesg again. If the drive in the enclosure is running at all, there will be messages that show at the end of the dmesg list.

If nothing shows, and you are sure the external enclosure works, then either the drive's onboard controller is dead or the drive itself is not running, and it may not be worth pursuing. You might be able to find an onboard controller for that hard drive in Ebay, but even if you find the exact match there's no guarantee the drive will work.
 
I tested now with a working HDD ...

Bash:
root@linuxy:~# fdisk -l
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Disk model: ST9500420AS  
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x45201b8b

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sda1  *         2048   2099199   2097152     1G  7 HPFS/NTFS/exFAT
/dev/sda2         2099200 526620671 524521472 250.1G  7 HPFS/NTFS/exFAT
/dev/sda3       946051072 976771071  30720000  14.7G 27 Hidden NTFS WinRE
/dev/sda4       526622718 946051071 419428354   200G  5 Extended
/dev/sda5       526622720 929513471 402890752 192.1G 83 Linux
/dev/sda6       929515520 946051071  16535552   7.9G 82 Linux swap / Solaris

Partition table entries are not in disk order.


Disk /dev/sdb: 698.7 GiB, 750156374016 bytes, 1465149168 sectors
Disk model: HD753LJ

Bash:
root@linuxy:~# lshw -class storage
  *-usb:0                
       description: Mass storage device
       product: USB to ATA/ATAPI Bridge
       vendor: JMicron
       physical id: 1
       bus info: usb@1:1.1
       logical name: scsi6
       version: 1.00
       serial: 131E201711FF
       capabilities: usb-2.00 scsi emulated
       configuration: driver=usb-storage maxpower=2mA speed=480Mbit/s
  *-sata
       description: SATA controller
       product: 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller
       vendor: Intel Corporation
       physical id: 1f.2
       bus info: pci@0000:00:1f.2
       logical name: scsi0
       logical name: scsi1
       version: 04
       width: 32 bits
       clock: 66MHz
       capabilities: sata msi pm ahci_1.0 bus_master cap_list emulated
       configuration: driver=ahci latency=0
       resources: irq:25 ioport:50a8(size=8) ioport:50bc(size=4) ioport:50a0(size=8) ioport:50b8(size=4) ioport:5060(size=32) memory:f2528000-f25287ff

And here is a "on-off-diff" for the dmesg with a working HDD:
Bash:
[ 1988.215569] usb 1-1.1: USB disconnect, device number 5
[ 2020.439222] usb 1-1.1: new high-speed USB device number 6 using ehci-pci
[ 2020.548830] usb 1-1.1: New USB device found, idVendor=152d, idProduct=2352, bcdDevice= 1.00
[ 2020.548835] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[ 2020.548837] usb 1-1.1: Product: USB to ATA/ATAPI Bridge
[ 2020.548839] usb 1-1.1: Manufacturer: JMicron
[ 2020.548841] usb 1-1.1: SerialNumber: 131E201711FF
[ 2020.549734] usb-storage 1-1.1:1.0: USB Mass Storage device detected
[ 2020.549931] scsi host6: usb-storage 1-1.1:1.0
[ 2021.559854] scsi 6:0:0:0: Direct-Access     SAMSUNG  HD753LJ               PQ: 0 ANSI: 2 CCS
[ 2021.560153] sd 6:0:0:0: Attached scsi generic sg2 type 0
[ 2021.781964] sd 6:0:0:0: [sdb] 1465149168 512-byte logical blocks: (750 GB/699 GiB)
[ 2021.783065] sd 6:0:0:0: [sdb] Write Protect is off
[ 2021.783067] sd 6:0:0:0: [sdb] Mode Sense: 34 00 00 00
[ 2021.785443] sd 6:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 2021.797076]  sdb: sdb1
[ 2021.800310] sd 6:0:0:0: [sdb] Attached SCSI disk
[ 2051.816337] sd 6:0:0:0: timing out command, waited 30s

for the not working HDD I don't see any difference.
BTW tested with USB connection now not with the eSATA connection.



based on that I think it is really really dead .... :(
 
Last edited:

Members online


Latest posts

Top