Sub topic 2
Hard disk drives: platters, heads, and spindle speeds
This chapter assumes you know what a motherboard, a power supply, and an expansion slot are. It also assumes you can tell storage from RAM and are comfortable with units such as GB, TB, and Gbps.
How a hard disk drive stores data
A hard disk drive (HDD) is a storage device that keeps data as magnetic patterns on spinning disks. It keeps its data when the power is off.
The main parts are:
- Platters: Rigid disks coated with a magnetic material. Most drives have one to several, stacked on one shaft.
- Spindle motor: Spins the platters at a fixed speed.
- Read/write heads: Tiny electromagnets, one per platter surface. They float a few nanometers above the surface and read or write the magnetic patterns.
- Actuator arm: Moves the heads across the platters together.
Data sits in concentric rings called tracks. Each track is split into sectors. Before the drive can read data, the actuator moves the heads to the right track (seek time). Then the drive waits for the right sector to rotate under the head (rotational latency).
Spindle speed
Spindle speed is measured in revolutions per minute (RPM). Faster rotation cuts the rotational latency, so data arrives sooner.
| Speed | Typical use | Notes |
|---|---|---|
| 5400 RPM | Laptops, external drives | Quieter, cooler, lower power |
| 7200 RPM | Desktops, general use | Common balance of speed and cost |
| 10,000 RPM | Servers, workstations | Faster, hotter, louder |
| 15,000 RPM | Enterprise servers | Fastest HDDs, high power and noise |
Strengths and weaknesses
HDDs cost little per gigabyte and come in very large capacities. That makes them a good fit for bulk storage and archives. Their weak points come from the moving parts:
- Slower than SSDs, especially for random reads and writes.
- Noisy, because of the motor and head movement.
- Sensitive to shock. A drop or bump while running can make a head touch a platter (a head crash) and damage data.
- Higher power use than SSDs, and they produce more heat.
Failing HDDs often give warnings. Clicking or grinding sounds, very slow file access, and frequent freezes are common signs. A drive that fails to spin up may also not appear in the BIOS or UEFI.
Identifying a drive type
You can check whether a disk is an HDD from the operating system.
On Windows, this PowerShell command lists each disk with its media type, bus type, and size:
Get-PhysicalDisk | Select-Object FriendlyName, MediaType, BusType, SizeOn Linux, a ROTA value of 1 means a rotational disk (an HDD). A value of 0 means a non-rotational drive such as an SSD:
lsblk -d -o NAME,ROTA,SIZE,TYPEExercise
A user wants an inexpensive internal drive to store several terabytes of video archives. Speed is not a priority. Which drive type and spindle speed are the best fit, and why?
Show answer
A 7200 RPM (or 5400 RPM) HDD. HDDs cost less per gigabyte and reach very large capacities. Since speed is not a priority, the lower cost and high capacity outweigh the speed advantage of an SSD.
Exercise
On a Linux system, lsblk -d -o NAME,ROTA,SIZE,TYPE shows ROTA = 1 for sda. What does that tell you?
Show answer
The drive is rotational, so it is a hard disk drive with spinning platters, not an SSD.