Controller Swaps Can Save An HDD If You Do It Right

Hard drives are fragile and reliable all at once. It’s entirely possible to have a hard drive fail, even if your data is still in perfect condition on the magnetic platters inside. [Keith Sherry] was recently trying to recover data for a friend off a damaged hard drive, and demonstrated that modern twists on old tricks can still work.

The drive in question was an old 160GB disk that itself was being used as a backup. Of course, a backup you haven’t tested is no backup at all, and this one failed in the hour it was most needed.

The suspicion was that the controller board was the culprit, and that swapping the board out might bring things back to life. Back in the day, this was a common hacker trick. However, it often fails with modern drives, which store a great deal of drive-specific calibration data on the controller board. Without this specific data, another controller will be unable to access the data on the drive, and could even cause damage.

However, as [Keith] demonstrates, there is a way around this. A controller from a similar drive was sourced, albeit from a SATA version of the drive versus the original which used USB. A single chip is then removed from the original controller, containing the calibration data specific to that drive. Soldering this chip onto the new controller got everything up and running, and the files could be recovered.

If your data is invaluable, it’s likely worth paying a professional. As [Keith] demonstrates though, the old tricks can still come in handy as long as your techniques are up to date. DIYing your own data recovery can be done, it’s just risky is all.

Oh, and don’t forget — once you’ve recovered the files, throw the drive away. Don’t keep using it! Video after the break.

Continue reading “Controller Swaps Can Save An HDD If You Do It Right”

Transparent Hard Drive Gives Peek At The Platters

Solid-state drives (SSDs) are all the rage these days, and for good reason. But that doesn’t mean the era of the spinning disk is over, as traditional mechanical hard drives still offer a compelling value for mass storage applications where access times aren’t as critical. But the components inside these “slow” mechanical drives are still moving at incredible speeds, which [The Developer Guy] has nicely illustrated with his transparent hard drive.

Now unfortunately the technology to produce a fully transparent hard drive doesn’t exist, but laser cutting a new top plate out of acrylic is certainly within the means of the average hacker. The process is pretty straightforward: cut out a piece of clear plastic in the same shape and size as the drive’s original lid, put the appropriate mounting holes in it, and find some longer screws to accommodate the increased thickness.

Because this is just for a demonstration, [The Developer Guy] doesn’t need to worry too much about dust or debris getting on the platters; but we should note that performing this kind of modification on a drive you intend on actually using would be a bad idea unless you’ve got a cleanroom to work in.

In the videos below [The Developer Guy] records the drive while it’s in use, and at one point puts a microscope on top of the plastic to get a close-up view of the read/write head twitching back and forth. We particularly liked the time-lapse of the drive being formatted, as you can see the arm smoothly moving towards the center of the drive. Unfortunately the movement of the platters themselves is very difficult to perceive given their remarkably uniform surface, but make no mistake, they’re spinning at several thousand RPM.

Have an old mechanical drive of your own that you’re not sure what to do with? We’ve seen them turned into POV clocks, impromptu rotary encoders, and even surprisingly powerful blower fans.

Continue reading “Transparent Hard Drive Gives Peek At The Platters”

Hackaday Links Column Banner

Hackaday Links: May 16, 2021

With the successful arrival of China’s first Mars lander and rover this week, and the relatively recent addition of NASA’s Perseverance rover and its little helicopter sidekick Ingenuity, Mars has collected a lot of new hardware lately. But while the new kids on the block are getting all the attention, spare a thought for the reliable old warhorse which has been plying Gale Crater for the better part of a decade now — Curiosity. NASA has been driving the compact-car-sized rover around Mars for a long time now, long enough to rack up some pretty severe damage to its six highly engineered wheels, thanks to the brutal Martian rocks. But if you think Curiosity will get sidelined as its wheels degrade, think again — the rover’s operators have a plan to continue surface operations that includes ripping off its own wheels if necessary. It’s a complex operation that would require positioning the wheel over a suitable rock and twisting with the steering motor to peel off the outer section of the wheel, leaving a rim to drive around on. JPL has already practiced it, but they predict it won’t be necessary until 2034 or so. Now that’s thinking ahead.

With all the upheaval caused by the ongoing and worsening semiconductor shortage, it might seem natural to expect that manufacturers are responding to market forces by building new fabs to ramp up production. And while there seems to be at least some movement in that direction, we stumbled across an article that seems to give the lie to the thought that we can build our way out of the crisis. It’s a sobering assessment, to say the least; the essence of the argument is that 20 years ago or so, foundries thought that everyone would switch to the new 300-mm wafers, leaving manufacturing based on 200-mm silicon wafers behind. But the opposite happened, and demand for chips coming from the older 200-mm wafers, including a lot of the chips used in cars and trucks, skyrocketed. So more fabs were built for the 200-mm wafers, leaving relatively fewer fabs capable of building the chips that the current generation of phones, IoT appliances, and 5G gear demand. Add to all that the fact that it takes a long time and a lot of money to build new fabs, and you’ve got the makings of a crisis that won’t be solved anytime soon.

From not enough components to too many: the Adafruit blog has a short item about XScomponent, an online marketplace for listing your excess inventory of electronic components for sale. If you perhaps ordered a reel of caps when you only needed a dozen, or if the project you thought was a done deal got canceled after all the parts were ordered, this might be just the thing for you. Most items offered appear to have a large minimum quantity requirement, so it’s probably not going to be a place to pick up a few odd parts to finish a build, but it’s still an interesting look at where the market is heading.

Speaking of learning from the marketplace, if you’re curious about what brands and models of hard drives hold up best in the long run, you could do worse than to look over real-world results from a known torturer of hard drives. Cloud storage concern Backblaze has published their analysis of the reliability of the over 175,000 drives they have installed in their data centers, and there’s a ton of data to pick through. The overall reliability of these drives, which are thrashing about almost endlessly, is pretty impressive: the annualized failure rate of the whole fleet is only 0.85%. They’ve also got an interesting comparison of HDDs and SSDs; Backblaze only uses solid-state disks for boot drives and for logging and such, so they don’t get quite the same level of thrash as drives containing customer data. But the annualized failure rate of boot SDDs is much lower than that of HDDs used in the same role. They slice and dice their data in a lot of fun and revealing ways, including by specific brand and model of drive, so check it out if you’re looking to buy soon.

And finally, you know that throbbing feeling you get in your head when you’re having one of those days? Well, it turns out that whether you can feel it or not, you’re having one of those days every day. Using a new technique called “3D Amplified Magnetic Resonance Imaging”, or 3D aMRI, researchers have made cool new videos that show the brain pulsating in time to the blood flowing through it. The motion is exaggerated by the imaging process, which is good because it sure looks like the brain swells enough with each pulse to crack your skull open, a feeling which every migraine sufferer can relate to. This reminds us a bit of those techniques that use special algorithms to detects a person’s heartbeat from a video by looking for the slight but periodic skin changes that occurs as blood rushes into the capillaries. It’s also interesting that when we spied this item, we were sitting with crossed legs, watching our upper leg bounce slightly in time with our pulse.

Continue reading “Hackaday Links: May 16, 2021”

Abused Hard Drive Becomes POV Clock

We all know that there’s not much to do with an old hard drive. Once you render the platters unreadable and perhaps harvest those powerful magnets, there’s not much left of interest. Unless, of course, you turn the whole thing into a persistence-of-vision clock.

At least that’s what [Leo] did when he created “PendoLux”. The clock itself is pretty simple; like any POV project, it just requires a way to move an array of flashing LEDs back and forth rapidly enough that they can trick the eye into seeing a solid image. [Leo] put the read head mechanism of an old HDD into use for that, after stripping the platters and motor out of it first.

The voice coil and magnet of the head arm are left intact, while a 3D-printed arm carrying seven RGB LEDs replaces the old heads. [Leo] added a small spring to return the arm to a neutral position, and used an Arduino to drive the coil and flash the LEDs. Getting the timing just right was a matter of trial and error; he also needed to eschew the standard LED libraries because of his heavy use of interrupts and used direct addressing instead.

POV clocks may have dropped out of style lately — this hard drive POV clock and a CD-ROM version were posted years ago. But [Leo]’s clock is pretty good looking even for a work in progress, so maybe the style will be making a comeback.

Continue reading “Abused Hard Drive Becomes POV Clock”

Tales From The Sysadmin: Impending Hard Drive Doom

It should have been another fine day, but not all was well in paradise. Few things bring a creeping feeling of doom like a computer that hardlocks and then refuses to boot. The clicking sound coming from the tower probably isn’t a good sign either. Those backups are up to date, right? Right?

There are some legends and old stories about hard drive repair. One of my favorites is the official solution to stiction for old drives: Smack it with a mallet. Another trick I’ve heard repeatedly is to freeze a hard drive before trying to read data off of it. This could actually be useful in a couple instances. The temperature change can help with stiction, and freezing the drive could potentially help an overheating drive last a bit longer. The downside is the potential for condensation inside the drive. Don’t turn to one of these questionable fixes unless you’ve exhausted the safer options.

For the purpose of this article, we’ll assume the problem is the hard drive, and not another component like a power supply or SATA cable causing problems. A truly dead drive is a topic for another time, but if the drive is alive enough to show up as a block device when plugged in, then there’s hope for recovering the data. One of the USB to SATA cables available on your favorite online store is a great way to recover data. Another option is booting off a Linux DVD or flash drive, and accessing the drive in place. If you’re lucky, you can just copy your files and call it a day. If the file transfer fails because of the dying drive, or you need a full disk image, it’s time to pull out some tools and get to work. Continue reading “Tales From The Sysadmin: Impending Hard Drive Doom”

New Year Habits – What Do You Do For Data Storage?

2020 is a year of reflection and avoiding regret, and one of the biggest practices we all know we should do better is back up our data. Inevitably there will be a corruption or accident, and we mourn the loss of some valuable data and vow to never let it happen again, and then promptly forget about good data retention practices.

I believe life is about acquiring memories, so it makes sense to me to try to archive and store those memories so that I can reflect on them later, but data storage and management is a huge pain. There’s got to be a better way (cue black and white video of clumsy person throwing up arms in disgust).

Nice Cloud You Have There; Shame if Something Happened to It

The teens of the century saw a huge shift towards cloud storage. The advantages of instantly backing up files and using the cloud as the primary storage for all your devices is appealing. It’s now easier to transfer files via the cloud than with a cable. With Google Docs and WordPress we have our most important documents and writing stored as database blobs on someone else’s servers. Facebook and Google and Flickr record all of our memories as photo albums. Unlimited storage is common, and indexing is so good that we can find photos with a vague description of their contents.

These things are instantly accessible, but lack permanence. Gone are newspaper clippings and printed photos discovered in a shoebox. When we aren’t in control of those services, they can disappear without any warning. Even some big offerings have packed up shop, leaving people scrambling to back up data before the servers were shut down. Google Plus is closed, Yahoo  Groups is closed, MySpace lost all content created prior to 2016, GeoCities closed in 2009, and Ubuntu One closed in 2014. It’s safe to say that no online content is safe from deletion. It’s also safe to say that cloud storage is a difficult location from which to extract your data.

With the risk of data leaks and privacy violations occurring daily, it’s also safe to say that some of your files should probably not be stored in the cloud in the first place. So, how do we do it well, and how do we get in the habit of doing it regularly?

Continue reading “New Year Habits – What Do You Do For Data Storage?”

Hackaday Links Column Banner

Hackaday Links: January 5, 2020

It looks like the third decade of the 21st century is off to a bit of a weird start, at least in the middle of the United States. There, for the past several weeks, mysterious squads of multicopters have taken to the night sky for reasons unknown. Witnesses on the ground report seeing both solo aircraft and packs of them, mostly just hovering in the night sky. In mid-December when the nightly airshow started, the drones seemed to be moving in a grid-search pattern, but that seems to have changed since then. These are not racing drones, nor are they DJI Mavics; witnesses report them to be 6′ (2 meters) in diameter and capable of staying aloft for 90 minutes. These are serious professional machines, not kiddies on a lark. So far, none of the usual government entities have taken responsibility for the flights, so speculation is all anyone has as to their nature. We’d like to imagine someone from our community will get out there with radio direction finding gear to locate the operators and get some answers.

We all know that water and electricity don’t mix terribly well, but thanks to the seminal work of White, Pinkman et al (2009), we also know that magnets and hard drives are a bad combination. But that didn’t stop Luigo Rizzo from using a magnet to recover data from a hard drive. He reports that the SATA drive had been in continuous use for more than 11 years when it failed to recover after a power outage. The spindle would turn but the heads wouldn’t move, despite several rounds of percussive maintenance. Reasoning that the moving coil head mechanism might need a magnetic jump-start, he probed the hard drive case with a magnetic parts holder until the head started moving again. He was then able to recover the data and retire the drive. Seems like a great tip to file away for a bad day.

It seems like we’re getting closer to a Star Trek future every day. No, we probably won’t get warp drives or transporters anytime soon, and if we’re lucky velour tunics and Spandex unitards won’t be making a fashion statement either. But we may get something like Dr. McCoy’s medical scanner thanks to work out of MIT using lasers to conduct a non-contact medical ultrasound study. Ultrasound exams usually require a transducer to send sound waves into the body and pick up the echoes from different structures, with the sound coupled to the body through an impedance-matching gel. The non-contact method uses pulsed IR lasers to penetrate the skin and interact with blood vessels. The pulses rapidly heat and expand the blood vessels, effectively turning them into ultrasonic transducers. The sound waves bounce off of other structures and head back to the surface, where they cause vibrations that can be detected by a second laser that’s essentially a sophisticated motion sensor. There’s still plenty of work to do to refine the technique, but it’s an exciting development in medical imaging.

And finally, it may actually be that the future is less Star Trek more WALL-E in the unlikely event that Segway’s new S-Pod personal vehicle becomes popular. The two-wheel self-balancing personal mobility device is somewhat like a sitting Segway, except that instead of leaning to steer it, the operator uses a joystick. Said to be inspired by the decidedly not Tyrannosaurus rex-proof “Gyrosphere” from Jurassic World, the vehicle tops out at 24 miles per hour (39 km/h). We’re not sure what potential market for these things would need performance like that – it seems a bit fast for the getting around the supermarket and a bit slow for keeping up with city traffic. So it’s a little puzzling, although it’s clearly easier to fully automate than a stand-up Segway.