"The biggest change was allowing only one drive per tray to be powered on at a time. In fact, to ensure that a software bug doesn’t power all drives on by mistake and blow fuses in a data center, we updated the firmware in the drive controller to enforce this constraint."
There's been plenty of speculation that this is similar to how Amazon Glacier works - lots of mostly unpowered disks, with custom firmware.
I presume when they're buying in suitable quantity, they can get direct manufacturer support with these sorts of modifications.
[1] https://code.facebook.com/posts/1433093613662262/-under-the-...
There might be an argument that it should require knowing the serial number or something that's only printed on the disk, so it couldn't be done by malware.
Anyway, I wonder about the feasibility of writing your own firmware like this. The stuff is so complicated that it seems impractical to do it usefully on a production-ready level without the cooperation of the manufacturer. In an ideal world the firmware would be open source and we could tweak it as we wished, but absent that, it seems like more of an abstract concern.
And large companies like Facebook do redesign servers. I don't know if they specifically use new hard drive firmware, but I wouldn't be surprised.
For stuff like routers and mp3 players, I've replaced firmware.