USB harddisk bricked, be carefull with hdparm and the parameter “-S 1”

How I broke my USB hard drive with one command.

It is rare, but possible, that software can damage hardware. I had to make this experience with my USB hard drive from Western Digital. Therefore, this article is a small warning.

The stupid idea

I had already been using the USB hard disk as a backup disk for a few years. I experimented a bit, encrypted the drive with VeraCrypt and connected it to my server. It worked, but the disk wouldn’t go into standby.

So I got the idea to change the energy settings with the “hdparm” command. For this, there is the parameter “S”, which can be given different values. The description reads that a value between 1 and 240 is a multiple of 5 minutes. Values beyond that (241 – 251) are multiples of 30 minutes.

Unfortunately, the setting “1” is somewhat special. Instead of 5 minutes, the hard disk is really put to sleep here and can only be started up again by a special command from the operating system. A warning is also issued explicitly when the command is called.

sudo hdparm -s 1 -S 4 /dev/sdb

/dev/sdb:
Use of -s1 is VERY DANGEROUS.
This requires BIOS and kernel support to recognize/boot the drive.
Please supply the --yes-i-know-what-i-am-doing flag if you really want this.
Program aborted.

So in order to be able to execute the command at all, I had to pass the parameter “–yes-i-know-what-i-am-doing”. Here I should have been suspicious. Nevertheless, I entered the command. For the time being, everything continued to run. Since the hard disk still did not go into stand-by, I restarted the computer.

That was the last time the hard disk was running.

When I plugged it in, the LED came on, but the motor of the hard disk did not start. To do this, the hard drive would first have to get the special command from the operating system, but this doesn’t work via USB. I haven’t found a solution yet, only people who have the same problem.

The disk or the USB device appeared in the device manager from time to time. It no longer appeared in the disk management. In short, the disk was and is broken. No chance of accessing the data, at least not via USB.

Salvage anchor: remove and connect via Sata

There is a small chance if the hard drive can be removed from the USB enclosure. In this case, you can try to connect the hard disk to a desktop computer normally via Sata. If the hard disk now starts up and is recognised, the “hdparm” setting can be reversed.

Unfortunately, this method does not work with WD hard drives. These do not have a Sata connection, but a direct USB connection or circuit board. There are instructions for tinkering, but they require a lot of soldering. This is also a small hint when buying a hard drive. The success for data recovery is usually better if the USB hard drive has an internal Sata connector.

Conclusion

I did not suffer any major damage, except that I had to buy a new hard drive. The data was gone, but I always have the data on at least two USB hard drives each. Nevertheless, I am a little annoyed about my stupidity.

SaleBestseller No. 1
SABRENT SSD/HDD 2,5 zoll festplattengehäuse 3.2 gen1 hard drive docking...
  • Superspeed Übertragung: Festplatten gehäuse ist eine hervorragende Lösung, um Ihre externe...
  • Breite Kompatibilität: Das 2.5 Zoll Externes Festplattengehäuse unterstützt 2,5 SATA 1TBSSD, 2TB...
  • Einfache Bedienung: Dieses Festplattengehäuse 2,5/3,5 lässt sich ohne Werkzeug bei der...
Bestseller No. 2
USB to SATA Adapter Cable Jsdoin USB 3.0 to SATA Adapter Converter USB Hard...
  • 【High Compatibility】Compatible with USB 2.0 / USB 1.1, SATA III chip; supports SATA HDD 2.5 or...
  • 【High Transfer Rates with UASP】The SATA to USB adapter supports USB 3.0 data transfer rates of...
  • 【Connect from Anywhere】The USB hard drive adapter is a portable solution that can be easily...
Bestseller No. 3
Intenso 6028680 Memory Board Portable Hard Drive 2TB, tragbare Externe...
  • 2,5 Zoll externe Festplatte, FAT32, LED Anzeige, hochwertiges Aluminiumgehäuse
  • Sofort startklar ohne Installation (Plug & Play), SuperSpeed USB Anschluss 3.0 (abwärtskompatibel...
  • Max. Datentransferrate: Lesen: 85 MB/s und Schreiben 75 MB/s. / Umdrehungen: bis zu 5400 U/min. /...

Leave a Reply

Your email address will not be published. Required fields are marked *