2

I still remember using Apple II's floppy disks with 143kb per disk.

And then there was the 20MB hard drive on the IBM PC...

Now they are 1TB per hard drive or more. I wonder before a hard drive fails, how can it be so reliable as to give back all the bits without any error?

do hard drive actually store 1 bit 8 times, so that if there is a little magnetic inconsistency, then the 7 reading is "1", and 1 reading is a "0", and it will tell that the bit is actually "1" instead of "0" and fix that 1 reading that says "0"?

And the computer is placed on the desk, and we type and tap the keyboard -- won't that move the desk surface by nano meters? Inside the hard drive, won't nano meters make a disturbance to the disk head and the disc platters?

2 Answers 2

6

Tons of reasons, many of which are far too complex for me to even understand. They're shielded from electromagnetic radiation (well, background levels anyway), and contained in a sealed, dust free container.

As for error handling:

Error handling

Modern drives also make extensive use of Error Correcting Codes (ECCs), particularly Reed–Solomon error correction. These techniques store extra bits for each block of data that are determined by mathematical formulas. The extra bits allow many errors to be fixed. While these extra bits take up space on the hard drive, they allow higher recording densities to be employed, resulting in much larger storage capacity for user data. [14] In 2009, in the newest drives, low-density parity-check codes (LDPC) are supplanting Reed-Solomon. LDPC codes enable performance close to the Shannon Limit and thus allow for the highest storage density available. [15]

Typical hard drives attempt to "remap" the data in a physical sector that is going bad to a spare physical sector—hopefully while the number of errors in that bad sector is still small enough that the ECC can completely recover the data without loss. The S.M.A.R.T. system counts the total number of errors in the entire hard drive fixed by ECC, and the total number of remappings, in an attempt to predict hard drive failure.

From here.

The rigidity of the innards and the fact it's a sealed, solid unit means small vibrations shouldn't create a bad write, though it can happen to potentially quite disastrous results. It uses the air pressure inside the sealed container to keep things running smoothly. Things go wrong quite often, even with ECC, which is partly the reason for hard disk recovery tools, redundancy and the like.

2
  • Or you could just say, really really smart people came up with ideas and tested that they work. At National Instruments, they build computers that you can drop off a 20 story building and still keeps on ticking.
    – surfasb
    Feb 14, 2011 at 6:08
  • Hard disk drived had an evolution, too (e.g. regarding shielding): When the first mobile phones became popular, some hard disks went crazy when a mobile phone was nearby.
    – U. Windl
    Sep 11, 2021 at 23:27
1

You can do even worse things with external hard disks, and they will still work.

Although it's not a good idea to move such a disk while rotating, I have been doing this without any problem. I even dropped on the floor such disks (more than once) while still rotating, with no ill effects. Even external disks that were just old internal disks mounted in an enclosure.

So I can testify that disks are constructed as resistant to minor (and maybe more than minor) shocks.

2
  • I don't know whether you are serious, but I lost one external harddisk for sure when it was moved while writing (and maybe another, too), and I definitely lost one harddisk in a RAID tower below my desk when I mistakenly hit it (the tower) with the foot while writing).
    – U. Windl
    Sep 11, 2021 at 23:11
  • @U.Windl: This was written in 2009. They don't make them like that any more.
    – harrymc
    Sep 12, 2021 at 8:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .