Hard Disk Drive
A hard disk drive is a non-volatile storage device that records data as magnetized regions on rapidly spinning, rigid disks called platters, reading and writing them with tiny electromagnetic heads that move across the surface on an arm. It is a mechanical machine in a sealed case: motor, platters, heads and actuator, plus a controller board, all dedicated to the one job of keeping bits for years without power at a low cost per terabyte. Its competitor, the solid-state drive, has no moving parts and has its own entry, and the underlying flash memory is covered separately; the hard drive is the device where physics of motion dominates every performance figure.
The first hard disk drive was IBM's 350 disk storage unit, part of the 305 RAMAC announced in 1956. It held about 5 million characters on fifty 24-inch platters, filled a large cabinet, and was leased to businesses. The design most later drives followed was IBM's 3340 Winchester drive of 1973, which sealed the platters together with heads that fly on a thin cushion of air above the spinning disks, and IBM's 3380 in 1980 was the first to store a gigabyte. The small form factors that fitted personal computers came with Seagate's ST-506 in 1980, a 5.25-inch drive holding 5 MB. Since then the areal density, bits per unit of surface, has risen by many orders of magnitude, helped by technologies such as perpendicular magnetic recording, brought to market around 2005, and by shingled recording that overlaps tracks.
Data is laid out in concentric tracks divided into sectors, and a head reads or writes by flying a few nanometers above a spinning platter. Each platter surface has its own head on a common actuator arm, and the drive positions it over the right track, a movement called a seek, then waits for the wanted sector to rotate underneath, which is rotational latency. At 7,200 revolutions per minute one rotation takes about 8.3 milliseconds, so the average rotational wait is about 4.2 milliseconds, and a seek adds several more. Access time is therefore in milliseconds, roughly a thousand times slower than flash, and hundreds of random accesses per second is typical. Once the head is positioned, however, a sequential stream is read at well over 100 MB per second, so a hard drive is far better at long reads than at scattered small ones.
The hard drive's fragility and failure modes follow from its mechanics. Shock while spinning can make a head strike the surface, a head crash, and bearings and motors wear, so drives fail abruptly and should be backed up rather than trusted, with redundancy schemes such as RAID protecting arrays. SMART reporting lets a drive publish error counters that hint at coming failure. Performance depends on rotation speed, with 5,400 and 7,200 rpm common for consumer drives and 10,000 rpm and above for older enterprise ones, and on how full and fragmented the disk is, since fragments force extra seeks; periodic defragmentation helped hard drives but is pointless and wasteful on solid-state drives. Deleting a file typically just frees its space and leaves the magnetic pattern readable until overwritten, a fact that matters for privacy.
Despite the rise of flash, hard drives remain the economical choice wherever capacity matters more than speed. Drives holding tens of terabytes are sold, and the cost per terabyte is much lower than for solid-state storage, so they dominate cold archives, backups, network-attached storage and the large data lakes behind analytics and machine learning, where training datasets of many terabytes are read sequentially. A common design places hot data on solid-state storage and bulk data on hard disks, tiering by access pattern. A popular misconception is that a drive's quoted capacity is lost to a formatting error: manufacturers count a gigabyte as a billion bytes while operating systems often count in powers of two, so a drive appears smaller than its label.
Read a hard disk drive as a record player for data, a precision mechanical device trading speed for capacity and low cost: its strengths and weaknesses both come from heads and spinning platters that must physically travel to the bytes they want.