Recover HD Using a Magnet
info.iet.unipi.it
info.iet.unipi.it
Around 1993 I had a Commodore Amiga with an A590 external hard drive. A big enclosure that could be connected to the expansion port on the left of an Amiga 500, containing a very precious 20MB hard disk.
One day, it stopped working. I tried everything but I couldn’t get it to work. A friend offered to take a look at it so I put it in my backpack and took the train to my friend. When connected to his A500, the drive worked lime a charm.
When I drove back home in the train I wondered what would be the matter with my A500 since it apparently made my A590 hard drive fail.
However, once I got home and reconnected the drive, it worked. No problem whatsoever.
Until two days later. It failed. You know what’s going to happen, right? Took it to my friend, it worked, took it back and it worked for two more days.
Turns out that disconnecting it, putting it in my bag, walking it around for a while worked just as well.
Turns out that disconnecting it, dropping it from 5cm / 2 inches and reconnecting it, worked just as well.
Which was what I did for the next four years or so. Whenever it stopped working, I disconnected it, dropped it and reconnected it.
Always loved the look on the face of people who witnessed me starting up my Amiga.
At Sun we took apart a number of failed drives (which could also be recovered sometimes by giving them a sharp twist) and hunted for the root cause. The answer was that over some time the drive heads became smoother and the surface of the landing zone also became smoother. When the tiny edges of the head had been removed by this process, the surface of the head was pretty much optically smooth (very little variation) and when it landed in a part of the landing zone that was similarly smooth the surfaces would push out the air between them and become stuck just by air pressure and surface friction (stiction). The drive would not spin up until the head had lifted off the surface. The firmware issue was that head lift off was checked for so quickly that the power up of the spindle was aborted before anything happened (this was to prevent damage to the head by dragging it along the platter's landing zone). By jostling the drive you could manually cause the platters to rotate and if you found a spot that wasn't completely smooth (or if you managed to have the heads move out of the landing zone) the surface would be rough enough that the head wasn't being held down and it could lift off again.
Seagate gave us a firmware fix which basically waited longer for the heads to lift off allowing the spindle motor to move the platter a bit before giving up. Quantum (the other disk supplier) beefed up the retract solenoid and gave us firmware that would try 'regular' retract and then 'heavy' retract before giving up. For a pretty long time I had a Seagate drive that had been disassembled to the point of exposing the heads and platters so that the effect could be demonstrated to skeptical engineers.
There are dedicated hardwares+softwares (as an example the "PC-3000") that are capable of re-programming the chip on the new board with data extracted from the chip on the old board or to re-program them anew, but they are very pricey and only data recovery companies can afford them and the connected training/resources.
So:
1) simple card swapping won't work on any disk manufactured since (roughly) 2005 (possibly even earlier)
2) card swapping can still be made BUT you need to "migrate" the chip from the old board, it is usually an 8-pin SMD so it is doable at home, but not exactly easy-peasy if you are not familiar and experienced in dde-soldering and soldering
Control electronics can be replaced. Bearings can be overcome with a higher motor drive current.
Some drives have crypto keys stored in flash - those are harder to fix.
I worked in the Manufacturing Engineering group, and specifically with the Engineers behind the “Wren” line of hard drives. IIRC, up to the Wren V, they had problems with the lubricant sometimes overheating and leaking out of the spindle onto the platters. When the hard drive spun down, the heads would be glued to the media by the lubricant, thus resulting in stiction.
They developed a “thermalwriter“ test process for the drives to put them through heat conditions way beyond what they might experience in the field, and then developed lubricants that could withstand the heat. They were very proud of this process. But there were still lots of old drives out there.
One of the things the clean room would sometimes do is take hard drives from important clients and try to recover them. I saw a lot of nasty failures, many of which were a result of inappropriate techniques being applied to try to temporarily free the heads.
There was a lot of FUD at the time on what would later be called “The Internet”, so one of my first contributions to the community was to take the knowledge of the engineers at the company and developed a FAQ that I posted to the various USENET newsgroups, on the right — and wrong — ways to try to address this issue in the field.
Sometimes I wonder if that FAQ ever survived.
Fun fact: that amstard pc had a pair of AA batteries to keep the cmos powered up and they fit right on top of the box, right where the monitor fit snugly.
Swapping the control boards works on some makes (wd), make certain it is exactly the same model and revision. exactly. "close enough" never worked for me, not even once.
By far just a slight "spin" by hand along the axis of travel of the disk, a quick gentile flicking motion, works to unfreeze the spindles of most stuck drives.
Some drives responded to a gentle heating of the spindle bearing with the hot air.
Use dd_rescue.
"Spinrite" is complete horse-shit, don't listen to anyone saying otherwise.
Most drives people brought in were just corruptions, photorec and it's associated programs (testdisk) are also invaluable..
- a MyBook that isn't recognized anymore?
I've figured out there's probably some encryption in the casing because when I disassemble it and connect it directly it shows up as unformatted or something.
- an ssd which seems even more dead.
Personally I've gotten back erased data (photorec) and data from at least 2 other disks (tilting the disk or freezing the disk), but these two have me stumped which is sad since they broke shortly after each other and one were supposed to be the backup ;-)
Would you happen to know why they'd transform the data instead of just writing through?
Oh: and I also added detail about another drive to my question. I didn't think anyone would answer that fast :-)
The external drives which offer 'encryption' nearly all do it through software on the host PC and sometimes the drives built in encryption (did you know all modern hard drives can encrypt data before writing it to the platters? - nobody uses it because you can't tell if the drive really is encrypting your data or just pretending to).
So, if I'm really lucky I can use testdisk to find the partitions and just mount it read only from there without involving a recovery company?
In 1996 or 97, a friend brought me his Compaq Deskpro, the SCSI HDD had stopped working. No sound at all, dead. Tried everything, checked voltages, reconnected cables trying to clear any oxidation. Wouldn't spin at all. Well, called it a night.
Next day, decided to take it out of the chassis for a last test, connected outside. Not only it spun, it worked fine!!! WTH????
Well, into the chassis it went. Nothing. Dead. Whaa..??? Outside again, it worked. In the chassis, dead. Outside, worked. Scratched my head... With it working outside, just tried to place it on top of the chassis. It spun down and stopped. Took it away, it spun up. Got it close again to the chassis, it spun down again... Scratched my head again... Gave up, left it disconnected outside for the day.
Next day tried it again and this time it worked outside of and in the chassis... My thoughts? The chassis was magnetized or something...
Worked for a couple more years.
There is also a related technique used for RAID rebuilding - SCT Error Recovery Control [0] (Western Digital's name is Time-Limited Error Recovery). The main idea is to limit the maximum time allowed during a hard drive's attempt to recover from a read/write error. Without such a limitation, when the hard drive encounters a failure, it may try rereading and remapping a bad sector and becomes temporarily unresponsive, making the RAID controller to believe that the entire hard drive has failed, and potentially put more strain on the existing disk in an unnecessary full rebuild.
All approaches to release a head that's stuck to a platter.
If I still worked with physical servers I'd be carrying around a rubber mallet to apply "percussive maintenance"
In a clean (enough) room, they could have opened the drive, and just poked the actuator arm.
Decades ago, I had a HDD that wouldn't spin up unless I nudged the platter with a pencil erasor. Very near the center, of course. There was a hole in the case, in just the right place, with Al tape over it.
I've also stuck a 3 1/4" floppy disk to a huge 2"x2"x5" neodimium magnet with no ill effects. The drive was able to read it fine afterwards with the same md5 hash of the contents.
Remarkably, I could read data off it. Not much, file i/o mostly ended up in failure, but I could at least see the file structure. I did not expect this.
> I've also stuck a 3 1/4" floppy disk to a huge 2"x2"x5" neodimium magnet with no ill effects. The drive was able to read it fine afterwards with the same md5 hash of the contents.
Right.
But thinking of EvanAnderson's anecdote, maybe a permanent magnet near a spinning platter is a changing magnetic field, from the perspective of the platter surface.
Still, with the platter inside a steel case, you'd need a very strong permanent magnet, held very close.
https://www.kjmagnetics.com/blog.asp?p=hard-drive-destructio... has a writeup about trying and failing to wipe a drive with extremely powerful magnets.
But outside of those, no magnet that you can hold in your hand will demagnetize a modern hard drive at any distance outside of the case, because there are magnets inside the case that are stronger than you can hold in your hands, and they’re used to move the head/arm assembly at mind-blowing speeds — and accuracy.
I have some old Imprimis Wren VII hard drive magnets still on my dad’s fridge, from the time when I did an internship there in 1989. I won’t say that you can’t remove them from the fridge, but they are stuck on there extremely well, and there are a number of people who had been injured by having their hand or fingers caught between those magnets and a ferrous metal object — like a fridge.
And that was 1989. The magnets they use now are much stronger.
Now, if you happened to put a hard drive inside an MRI machine, that would do the job. But then you’re also talking about a machine that could suck up a vacuum cleaner from across the room and turn it into a lethal projectile. A proper degausser will be a lot weaker than an MRI machine.
here is an old national geographics video on the topic https://www.youtube.com/watch?v=U8LWTe5CqQg
In 2006, while sitting at my desk playing a video on the Travelstar 40GB PATA drive in my Thinkpad T22, I held a single neodymium magnet (harvested from an old hard disk drive) about 6 inches from the left side of the unit (where the ~disk was located). The video froze, Windows XP blue-screened, and the hard disk drive started emitting a ~10Khz whine. I jerked my hand away from the PC immediately when the whine started
BIOS would no longer detect the disk on that machine, or any other I tried it on (on both USB-to-PATA and honest-to-goodness motherboard PATA controllers). The drive spun up but made a repeated ticking sound (I assume seeking back and forth looking for servo tracks).
I sent the drive to Kroll Ontrack (because, stupidly, I had billing data that wasn't backed-up on the drive). The report I received back indicated that 80% of the drive's sectors were unreadable.
As an aside: The data I was looking for was ASCII text and Kroll Ontrack was completely unhelpful in just sending me a bitstream image of the drive so I could grovel thru looking for data I needed. Being plain ASCII, their "file carving" tools didn't locate any of the data. (They sent me a "preview" of the data they'd located, and while it got lots of Microsoft Office-format files, it didn't have any ASCII text files). I offered them a 3x multiple of the rate they asked for file-level recovery to simply send me the bitstream image of the disk that they'd already made. They wouldn't do it, and wouldn't even let me pay to talk to somebody who understood what I was asking for. I ended up taking a major loss on the billing data I destroyed. I'll never recommend them to anybody.
I won't ever play with neodymium magnets around spinning rust media again either. I also had a major failure of my discipline re: backup at that time, too. The cobbler's children always go barefoot-- I was being too cavalier with my backup strategy (or lack thereof) and not treating my own data like I would a Customer's.
This sounds like the head crashed and physically scraped the platter.
But one thing is for sure. OnTrack are dicks. Can confirm.
I stack running hard disk drives, all of which have large neodymium magnets inside them, in close proximity all the time with no ill effects. It makes no sense.
Electromagnetic radiation from point sources falls off as 1/d^2.
By the way with that video I am also thinking maybe it wasn't the magnet that scrambled the drive but some other force that was applied as a result of the effect of the magnet on chips or the laptop. [1]
[1] I don't think that was what happened but the test does not isolate the drive from any other possible impact is my point.
Okay, to be fair, that does sound like a bug.
By moving the notebook in the air and trying different positions the noise changed. I was able to get the machine to eventually boot by holding the notebook in my hands at an angle and spinning myself on the spot. At the time I guess the gyroscopic forces were enough to get the bearing to sit right and the HDD to be able to spin properly. Doing so caused the drive to work long enough to get the most important files off it.
Definitely the strangest thing I’ve ever done to “fix” a piece of computing equipment.
https://battlepenguin.com/tech/freezing-a-hard-drive/
If you can, leave the hard drive in the freezer while you access it. Only works for old spinny hard drives of course.
Writing all 1's or 0's to the drive causes those sectors to either be rewritten or reallocated.
The fact it's 1's and 0's wouldn't have an impact anyway - all drives use data whitening techniques anyway.