Magnetic recording A modern HDD records data by magnetizing a thin film of
ferromagnetic material on both sides of a disk. Sequential changes in the direction of magnetization represent binary data
bits. The data is read from the disk by detecting the transitions in magnetization. User data is encoded using an encoding scheme, such as
run-length limited encoding, which determines how the data is represented by the magnetic transitions. A typical HDD design consists of a '''' that holds flat circular disks, called
platters, which hold the recorded data. The platters are made from a non-magnetic material, usually
aluminum alloy,
glass, or
ceramic. They are coated with a shallow layer of magnetic material typically 10–20
nm in depth, with an outer layer of carbon for protection. , the platters in most consumer-grade HDDs spin at 5,400 or 7,200 rpm. Information is written to and read from a platter as it rotates past devices called
read-and-write heads that are positioned to operate very close to the magnetic surface, with their
flying height often in the range of tens of nanometers. The read-and-write head is used to detect and modify the magnetization of the material passing immediately under it. In modern drives, there is one head for each magnetic platter surface on the spindle, mounted on a common arm. An actuator arm (or access arm) moves the heads on an arc (roughly radially) across the platters as they spin, allowing each head to access almost the entire surface of the platter as it spins. The arm is moved using a
voice coil actuator or, in some older designs, a
stepper motor. Early hard disk drives wrote data at some constant bits per second, resulting in all tracks having the same amount of data per track, but modern drives (since the 1990s) use
zone bit recording, increasing the write speed from inner to outer zone and thereby storing more data per track in the outer zones. In modern drives, the small size of the magnetic regions creates the danger that their magnetic state might be lost because of
thermal effects — thermally induced magnetic instability which is commonly known as the "
superparamagnetic limit". To counter this, the platters are coated with two parallel magnetic layers, separated by a three-atom layer of the non-magnetic element
ruthenium, and the two layers are magnetized in opposite orientation, thus reinforcing each other. In 2004, a higher-density recording media was introduced, consisting of coupled soft and hard magnetic layers. So-called
exchange spring media magnetic storage technology, also known as
exchange coupled composite media, allows good writability due to the write-assist nature of the soft layer. However, the thermal stability is determined only by the hardest layer and not influenced by the soft layer. magneticMedia.svg|Magnetic cross section &
frequency modulation encoded binary data HDD_Startup_and_Shutdown.webm|HDD with front cover removed to show its operation Aufnahme einzelner Magnetisierungen gespeicherter Bits auf einem Festplatten-Platter..jpg|Recording of single magnetisations of bits on a 200 MB HDD-platter (recording made visible using CMOS-MagView) The spinning of the disks uses fluid-bearing spindle motors. Modern disk firmware is capable of scheduling reads and writes efficiently on the platter surfaces and remapping sectors of the media that have failed. File:Hard drive.svg|Diagram labeling the major components of a computer HDD File:Hard disk dismantled.jpg|An HDD with disks and motor hub removed, exposing copper-colored stator coils surrounding a bearing in the center of the spindle motor. The orange stripe along the side of the arm is a thin printed-circuit cable, the spindle bearing is in the center and the actuator is in the upper left. File:Circuit board of a Samsung hard disk MP0402H.jpg|
Printed circuit board of a 2.5-inch Samsung hard disk MP0402H. File:Kopftraeger WD2500JS-00MHB0.jpg|Head stack with an actuator coil on the left and read/write heads on the right File:HDD read-write head.jpg|Close-up of a single
read–write head, showing the side facing the platter File:Hard drive underside (better angle and lighting).jpg|The circuit board of a Western Digital hard drive attached to its chassis File:Hard drive arm 2.jpg|The read/write arm
Error rates and handling Modern drives make extensive use of
error correction codes (ECCs), particularly
Reed–Solomon error correction. These techniques store extra bits, determined by mathematical formulas, for each block of data; the extra bits allow many errors to be corrected invisibly. The extra bits themselves take up space on the HDD, but allow higher recording densities to be employed without causing uncorrectable errors, resulting in much larger storage capacity. For example, a typical 1
TB hard disk with 512-byte sectors provides additional capacity of about 93
GB for the
ECC data. In the newest drives, , Typical hard disk drives attempt to "remap" the data in a
physical sector that is failing to a spare physical sector provided by the drive's "spare sector pool" (also called "reserve pool"), while relying on the ECC to recover stored data while the number of errors in a bad sector is still low enough. The S.M.A.R.T (
Self-Monitoring, Analysis and Reporting Technology) feature counts the total number of errors in the entire HDD fixed by ECC (although not on all hard drives as the related S.M.A.R.T attributes "Hardware ECC Recovered" and "Soft ECC Correction" are not consistently supported), and the total number of performed sector remappings, as the occurrence of many such errors may predict an
HDD failure. The "No-ID Format", developed by IBM in the mid-1990s, contains information about which sectors are bad and where remapped sectors have been located. Only a tiny fraction of the detected errors end up as not correctable. Examples of specified uncorrected bit read error rates include: • 2013 specifications for enterprise SAS disk drives state the error rate to be one uncorrected bit read error in every 1016 bits read, • 2018 specifications for consumer SATA hard drives state the error rate to be one uncorrected bit read error in every 1014 bits. Within a given manufacturers model the uncorrected bit error rate is typically the same regardless of capacity of the drive.
Development from 1956 through 2009 compared to
Moore's law. By 2016, progress had slowed significantly below the extrapolated density trend. The rate of areal density advancement was similar to
Moore's law (doubling every two years) through 2010: 60% per year during 1988–1996, 100% during 1996–2003 and 30% during 2003–2010. Speaking in 1997,
Gordon Moore called the increase "flabbergasting", while observing later that growth cannot continue forever. Price improvement decelerated to −12% per year during 2010–2017, as the growth of areal density slowed. The rate of advancement for areal density slowed to 10% per year during 2010–2016, and there was difficulty in migrating from perpendicular recording to newer technologies. As bit cell size decreases, more data can be put onto a single drive platter. In 2013, a production desktop 3 TB HDD (with four platters) would have had an areal density of about 500 Gbit/in2 which would have amounted to a bit cell comprising about 18 magnetic grains (11 by 1.6 grains). Since the mid-2000s, areal density progress has been challenged by a
superparamagnetic trilemma involving grain size, grain magnetic strength and ability of the head to write. intended as something of a "stopgap" technology between PMR and Seagate's intended successor
heat-assisted magnetic recording (HAMR). SMR utilizes overlapping tracks for increased data density, at the cost of design complexity and lower data access speeds (particularly write speeds and
random access 4k speeds). By contrast,
HGST (now part of
Western Digital) focused on developing ways to seal
helium-filled drives instead of the usual filtered air. Since
turbulence and
friction are reduced, higher areal densities can be achieved due to using a smaller track width, and the energy dissipated due to friction is lower as well, resulting in a lower power draw. Furthermore, more platters can be fit into the same enclosure space, although helium gas is notoriously difficult to prevent escaping. Thus, helium drives are completely sealed and do not have a breather port, unlike their air-filled counterparts. Other recording technologies are either under research or have been commercially implemented to increase areal density, including Seagate's
heat-assisted magnetic recording (HAMR). HAMR requires a different architecture with redesigned media and read/write heads, new lasers, and new near-field optical transducers. HAMR shipped commercially in early 2024 after technical issues delayed its introduction by more than a decade, from earlier projections as early as 2009. HAMR's planned successor,
bit-patterned recording (BPR), Western Digital's microwave-assisted magnetic recording (MAMR), also referred to as energy-assisted magnetic recording (EAMR), was sampled in 2020, with the first EAMR drive, the Ultrastar HC550, shipping in late 2020.
Two-dimensional magnetic recording (TDMR) and "current perpendicular to plane"
giant magnetoresistance (CPP/GMR) heads have appeared in research papers. Some drives have adopted dual independent actuator arms to increase read/write speeds and compete with SSDs. A 3D-actuated vacuum drive (3DHD) concept and 3D magnetic recording have been proposed. Depending upon assumptions on feasibility and timing of these technologies, Seagate forecasts that areal density will grow 20% per year during 2020–2034. == Capacity ==