by xg15 · 1y ago · 0 comments
Was this actually a real danger at all at some point?
It's obvious that cutting the power without shutdown will lead to data loss of everything not written to persistent storage. But for old PCs, the warning was always that it could also physically damage the PC, e.g. damage the hard drives or something like that. Is this still the case?
You'll notice most laptops refuse to update their firmware without the battery reasonably fully charged, and the power adapter plugged in. This is why.
And then we get into the definition of "irreversible." Yes, you can recover from this with an external SPI flasher, if you can get the firmware image into the proper state for the SPI flash, or have an image from before. But most people don't have this option.
As for hard drives, I'm of the impression that most newer drives will handle a power cut by using the inertia left in the platters and the motor-as-generator long enough to drive the heads back to a safe position, but I've not done any sort of in depth experimentation on it. A drive with a parking ramp for the heads (or a parking track) has those things for a reason, and "scraping the coating as the drive spins up somewhere in the data section" isn't good for drive longevity.
I recently did this with one of my Thinkpads, doing it during a battery firmware update among others. I wasn't successful in finding such a solution though. Where have you had success in finding some of the more obscure repair techniques?
I don't remember this being true. I remember it always being about data loss.
The quiet clicking-type drives use a magnetic voice coil-type actuator, and the loss of power causes them to want to spring back to the park position.
But the filesystems normally used on PCs at the time didn't have journalling or other mechanisms to prevent metadata damage if the power was turned off in the middle of a metadata update, which made data loss that much more likely even for blocks that were already written.
And it was a real danger before for the running sofware system, I think modern filesystems are more resilient against this sort of problem.
Never heard of actual physical damage though, but I didn't live that era much, can just barely remember the screen in TFA.
If you do it one time, no. But, I wouldn't try it too many times.
(do you know Windows 10 has "online checkdisk" - and doesn't work. Ask me how i found out)