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
2.5 HDD Enclosure, 2.5" USB 3.0 Hard Drive Enclosure with USB 3.0 Cable...
  • ✅【Schnelle Datenübertragung】: Dieses Festplattengehäuse bietet schnelle...
  • ✅【Sicherheit und Stabilität】: Der ASM1153E-Chip und mehrere Schutzfunktionen sorgen für die...
  • ✅【Rundumschutz】: Das Gehäuse verfügt über EVA-Schaum, der Ihre Festplatte vor...
Bestseller No. 2
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. /...
Bestseller No. 3
Intenso Memory Case Portable Hard Drive 5TB, tragbare externe Festplatte -...
  • 2,5 Zoll externe Festplatte, flaches Kunststoffgehäuse, FAT32, Plug & Play, LED Anzeige
  • 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. /...

2 comments

  1. Same problem here. After several days of work… finally bricked a WD USB Drive with hdparm. 🙁
    One of the worst dreams came true. Thank’s for the hdparm-self-destruction mode.

Leave a Reply

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