Disk Structure: Understanding Physical Storage
Platters and Heads
Read aloud is unavailable in this browser.
Multi-Surface Data Storage
Modern hard disk drives achieve high storage capacities by stacking multiple platters on a single spindle, each providing two recording surfaces. Understanding how these multiple surfaces work together is essential for comprehending disk addressing, access patterns, and database storage optimization.
Why Multiple Platters Matter for Databases:
The way data is distributed across multiple platter surfaces directly impacts:
- Access time — Whether accessing data requires head switching (fast) or seeks (slow)
- Data layout optimization — How database systems organize data to minimize expensive operations
- Parallel access — Can multiple heads read simultaneously?
- Reliability — More components mean more potential failure points
In this page, we examine the intricate relationship between platters and heads, introducing the critical concept of the cylinder—a vertical stack of tracks that can be accessed without moving the actuator arm.
By the end of this page, you will understand multi-platter disk architecture, the cylinder concept, head switching vs. seeking, how data surfaces are organized, and why these physical characteristics influence how databases store and retrieve data efficiently.
Multi-Platter Architecture
Modern hard disk drives stack multiple platters on a common spindle, allowing capacity to scale without increasing the drive's footprint. Each platter provides two recording surfaces (top and bottom), effectively multiplying storage capacity.
The Stack Configuration:
A typical enterprise drive might have the following configuration:
- 9 platters stacked with precise spacing
- 18 recording surfaces (2 per platter)
- 18 read/write heads (1 per surface)
- All platters rotate together at identical speed
- All heads move together on a single actuator assembly
Critical Design Constraint:
All heads in the stack are mechanically linked to the same actuator arm assembly. This means:
- When the actuator moves, all heads move together
- You cannot position heads independently over different tracks
- At any given moment, all heads are positioned over the same track number on their respective surfaces
| Drive Class | Platters | Surfaces | Heads | Typical Capacity |
|---|---|---|---|---|
| Consumer Desktop | 2-4 | 3-8 | 3-8 | 1-4 TB |
| Consumer NAS | 3-6 | 6-12 | 6-12 | 4-10 TB |
| Enterprise Nearline | 7-9 | 14-18 | 14-18 | 12-20+ TB |
| High-Performance Enterprise | 4-6 | 8-12 | 8-12 | 1.2-2.4 TB |
Surface Numbering Convention:
Recording surfaces are typically numbered sequentially:
- Surface 0: Top of first (topmost) platter
- Surface 1: Bottom of first platter
- Surface 2: Top of second platter
- Surface 3: Bottom of second platter
- ... and so on
Why Not Use All Surfaces?
Some configurations deliberately leave surfaces unused:
- Outermost surfaces may be dedicated to servo data
- Some surfaces may be reserved as spares
- Manufacturing defects may disable specific surfaces
- Firmware may disable surfaces for product segmentation
For drives where all surfaces are used, heads = surfaces. However, some older or specialized designs may use fewer surfaces. Always check drive specifications for the exact configuration. The S.M.A.R.T. (Self-Monitoring, Analysis and Reporting Technology) data can reveal actual head count.
Head Slider Technology
Each read/write head is mounted on a slider—a precision-engineered component that maintains the exact flying height above the platter surface. Understanding slider technology is essential for appreciating the engineering marvel that enables modern storage densities.
Air Bearing Principles:
The slider uses aerodynamic principles to 'fly' above the platter:
- The spinning platter creates a thin layer of moving air on its surface
- The slider's air bearing surface (ABS) is precisely shaped to generate lift
- A spring-loaded suspension (flexure) applies a constant loading force
- Equilibrium is reached where air pressure equals spring force
The result is a stable flying height of approximately 3-5 nanometers above the platter surface.
- •Rails — Raised ridges that generate primary lift force
- •Pads — Localized areas that fine-tune pressure distribution
- •Channels — Grooves that manage air flow patterns
- •Negative Pressure Cavity — Creates suction to stabilize the slider
- •Leading Edge Taper — Angled entry allows air to enter smoothly
- •Trailing Edge — Where the read/write element is located, closest to platter
The Suspension System:
The slider is mounted on a thin metal flexure that provides:
- Pitch and Roll Compliance — Allows slider to follow platter curvature
- Gram Load Force — Typically 1.5-3 grams pressing toward the platter
- Electrical Connections — Traces carry signals to/from the head
- Controlled Stiffness — Optimized for resonance characteristics
Thermal Fly-Height Control (TFC):
Modern drives use a heating element embedded in the slider to dynamically adjust flying height:
- Current through a resistive heater causes local thermal expansion
- The read/write element protrudes slightly closer to the platter
- Controller adjusts heater power based on read signal quality
- Enables sub-nanometer flying height control
This allows drives to maintain optimal head-to-disk spacing across different operating conditions and platter regions.
Air bearing performance depends on air density. At high altitudes (lower air pressure), the air bearing provides less lift, potentially causing head crashes. Standard consumer drives are rated for operation up to 3,000 meters altitude. Enterprise drives may include pressurized enclosures or helium fill to mitigate this. Extreme temperatures also affect air viscosity and flying height.
The Cylinder Concept
The cylinder is one of the most important concepts in disk storage, providing the foundation for understanding efficient data access. A cylinder represents all tracks that can be accessed without moving the actuator arm.
Definition:
A cylinder is the set of tracks at the same radial position across all recording surfaces. Since all heads move together, when the actuator is positioned at track N, every head is simultaneously over track N on its respective surface.
Visualizing Cylinders:
Imagine looking down through a multi-platter stack:
- Each platter has concentric circular tracks
- Tracks at the same radius on all platters form a vertical 'cylinder'
- There are as many cylinders as there are tracks per surface
- All data within one cylinder can be accessed by head switching alone
Why Cylinders Matter:
The cylinder concept is fundamental because:
- Accessing different sectors within a cylinder requires only head switching — An electronic operation taking microseconds
- Accessing sectors on different cylinders requires a seek — A mechanical operation taking milliseconds
This massive difference (1,000x or more) makes cylinder-aware data layout critically important.
Cylinder Count in Modern Drives:
A modern high-capacity drive might have:
- 500,000+ cylinders per surface
- Each cylinder spanning 18 surfaces
- Hundreds of sectors per track
- Total capacity = cylinders × surfaces × sectors per track × bytes per sector
When databases talk about 'sequential access being faster than random access,' the cylinder concept explains why. Sequential data stored within cylinders requires only head switching and rotational latency. Random access across cylinders pays the full seek time penalty for each access. This is why database systems work hard to cluster related data together.
Head Switching vs. Seeking
Understanding the dramatic performance difference between head switching and seeking is crucial for database storage optimization. These two operations represent fundamentally different categories of latency.
Head Switching:
When the controller activates a different head (switches surfaces) without moving the actuator arm:
- Mechanism: Electronic signal routing change
- Time: Approximately 1-2 milliseconds (often hidden in rotational latency)
- Energy: Negligible
- Wear: None
Seeking:
When the actuator arm must move to position heads over a different track:
- Mechanism: Voice coil motor accelerates/decelerates the arm assembly
- Time: 3-15+ milliseconds depending on distance
- Energy: Proportional to acceleration required
- Wear: Minimal but non-zero
| Operation | Mechanism | Typical Time | Cost Factor |
|---|---|---|---|
| Head Switch | Electronic multiplexing | 1-2 ms (overlapped) | 1x (baseline) |
| Track-to-Track Seek | Minimal arm movement | 0.5-1 ms | ~1x |
| Average Seek | One-third of full stroke | 8-12 ms | ~8x |
| Full Stroke Seek | Innermost to outermost track | 15-25 ms | ~15x |
The Cylinder-First Access Pattern:
To maximize performance, data should be accessed in a pattern that exhausts each cylinder before moving to the next:
- Read/write all sectors on the current track
- Switch to the next head (same cylinder, different surface)
- Read/write all sectors on that track
- Repeat until all surfaces in the cylinder are processed
- Only then seek to the next cylinder
This pattern minimizes the number of expensive seek operations.
Modern Complication: Zone Bit Recording
In modern drives with Zone Bit Recording (ZBR), different tracks have different numbers of sectors. This complicates the cylinder concept because the 'shape' of a cylinder is no longer uniform—outer tracks hold more data than inner tracks.
Modern drives support NCQ (SATA) or Tagged Command Queueing (SAS), allowing multiple outstanding commands. The drive controller can reorder commands to minimize total seek distance—a technique called 'elevator seeking' or 'SCAN algorithm.' This is a hardware-level optimization that reduces the impact of random access patterns, but understanding cylinder locality remains valuable for database design.
Recording Surfaces in Detail
Each recording surface on a platter is a precisely engineered substrate capable of storing magnetic patterns with nanometer-scale features. Understanding surface organization helps explain storage capacity and access patterns.
Surface Organization:
Each surface is divided into:
- Tracks — Concentric circles of data (50,000-500,000+ per surface)
- Sectors — Arc-shaped subdivisions of tracks (typically 512 bytes or 4096 bytes each)
- Zones — Groups of tracks with the same sector count (for Zone Bit Recording)
- Servo Wedges — Interleaved positioning information
- •Track Pitch — Spacing between track centers; typically 50,000-100,000 TPI (tracks per inch)
- •Linear Density — Bits per inch along the track; varies with radius in ZBR
- •Areal Density — Total bits per square inch; the key capacity metric (1+ Tb/in²)
- •Track Width — Physical width of recorded data (narrower = higher capacity, but harder to read)
- •Guard Band — Unused space between tracks to prevent interference
The Data Recording Process:
Writing:
- Write current flows through the thin-film inductive element
- Magnetic field is generated, oriented perpendicular to the platter surface (PMR)
- Magnetic domains in the recording layer flip to match the field orientation
- Domain orientation persists after write current stops (non-volatile storage)
Reading:
- Platter rotation moves recorded domains under the read head
- Magnetic field from domains affects resistance of the GMR/TMR sensor
- Resistance changes create voltage variations (microvolts)
- Signal processing recovers the original bit stream
Error Detection and Correction:
The raw signal from the head contains significant noise and timing jitter. The read channel uses sophisticated digital signal processing:
- Timing recovery circuits synchronize with the bit stream
- Viterbi detection handles inter-symbol interference
- LDPC or similar codes correct bit errors
- CRC codes detect any remaining uncorrected errors
Raw (uncorrected) bit error rates on modern drives can be as high as 10⁻³ to 10⁻⁵. After ECC, the corrected error rate should be 10⁻¹⁵ or better. Database systems add additional checksums and error detection because even 10⁻¹⁵ error rate means potential errors when handling petabytes of data. This is why technologies like ZFS use block-level checksums.
Parallel Head Operations
A natural question arises: Can multiple heads read or write simultaneously? The answer has significant implications for potential parallelism in disk access.
The Reality:
Conventional HDDs: One Active Head at a Time
Most hard disk drives activate only one read/write head at any moment:
- Technical Reason: The read preamplifier and write driver are shared resources
- Cost Reason: Separate electronics for each head would increase expense
- Timing Reason: Synchronizing multiple bit streams would be complex
When switching heads, there is a brief delay ( ~1-2 ms) to reconfigure the electronics and wait for the correct sector to rotate under the new head.
Does This Limit Performance?
The single-active-head constraint is less limiting than it might appear:
- Head switching overlaps with rotational latency
- Sequential access patterns naturally use heads efficiently
- The bottleneck is usually seek time, not head switching
| Configuration | Description | Use Case |
|---|---|---|
| Single Active Head | Standard HDD configuration; one head reads/writes at a time | All consumer and most enterprise drives |
| Multi-Actuator | Two independent actuator arms, each accessing half the platters | Ultra-high-performance enterprise (e.g., Seagate MACH.2) |
| Parallel Read/Write | Theoretical simultaneous access; not implemented commercially | Research only |
Dual-Actuator Technology:
Recent enterprise drives have introduced dual-actuator designs:
- Two independent actuator arms in a single drive
- Each actuator controls half of the heads
- Effectively doubles IOPS (I/O Operations Per Second) for random workloads
- Presents as a single logical drive or two independent drives
Example: Seagate MACH.2
Seagate's multi-actuator technology:
- Top actuator: Accesses upper platters
- Bottom actuator: Accesses lower platters
- Each actuator can seek independently
- Random read IOPS nearly doubled compared to single-actuator
- Particularly beneficial for cloud and hyperscale data centers
With dual-actuator drives, databases can achieve higher throughput for random I/O workloads. However, the database or file system must issue concurrent I/O requests to take advantage of both actuators. Workloads with low queue depth (few outstanding I/Os) will not see significant benefit. Consider increasing I/O queue depth and concurrency for maximum performance.
Head and Platter Failure Modes
Understanding failure modes is essential for database reliability engineering. The heads and platters are the most mechanically sensitive components, and their failure patterns inform backup and redundancy strategies.
Head Crash:
The most catastrophic failure mode occurs when the read/write head contacts the spinning platter surface:
Causes:
- Physical shock or vibration
- Power failure during operation (head doesn't park properly)
- Contamination particles
- Component wear over time
Consequences:
- Head and media damage, often spreading across the platter
- Complete data loss on affected surfaces
- Particulate debris may damage other heads and surfaces
Prevention:
- Shock sensors that park heads on impact detection
- Automatic head parking on power loss (ramp unload)
- Controlled operating environment (temperature, vibration)
- •Head Crash — Physical contact causes media damage and data loss
- •Preamp Failure — Electronics on the head assembly fail; head becomes unreadable
- •Stiction — Head sticks to platter surface (historical issue, rare in modern drives)
- •Magnetic Degradation — Gradual weakening of magnetic patterns ('bit rot')
- •Servo Track Damage — Positioning information corrupted; head cannot track properly
- •Head Arm Resonance — Vibration causes positioning instability at certain frequencies
- •Thermal Asperity — Random thermal excursions cause read errors
S.M.A.R.T. Monitoring:
Self-Monitoring, Analysis, and Reporting Technology provides early warning of potential failures:
Key Indicators for Head/Platter Health:
- Reallocated Sector Count — Sectors remapped due to read errors; increasing count indicates media degradation
- Current Pending Sector Count — Sectors suspected bad awaiting rewrite
- Uncorrectable Sector Count — Sectors that failed even after ECC
- Spin Retry Count — Failed attempts to spin up; may indicate motor or bearing issues
- Raw Read Error Rate — Frequency of read errors before correction
- Seek Error Rate — Failures in head positioning
Database Administrator Best Practice:
Monitor S.M.A.R.T. data for all drives storing database data. Set alerting thresholds for critical attributes. Replace drives proactively when indicators suggest impending failure. Maintain redundancy (RAID) to survive individual drive failures.
Hard drive failure rates follow a 'bathtub curve': higher failure rates during early life (infant mortality) and late life (wear-out), with a relatively stable period in between. Database systems using many drives should expect statistically predictable failure rates. At large scale (thousands of drives), failures become a regular operational event that must be handled automatically through redundancy and automated recovery.
KEEP LEARNING
There’s more to understand.
You’re reading the introduction. Create a free account to read the complete lesson, save notes and keep track of your progress.