Storage · Physical Storage Media
HDD
Cheat sheet · https://pcornel.dk/topic.php?topic=3871
Answer
An HDD (hard disk drive) stores data magnetically on spinning platters read by moving heads. It offers cheap capacity but has millisecond seek times and low random IOPS compared with SSDs.
Remember
- An HDD gives roughly 75–200 random IOPS.
- Sequential throughput is good; random I/O is slow.
- Mechanical parts wear and fail.
First checks
smartctl -a /dev/sdX | grep -E 'Reallocated|Pending|Uncorrect|Power_On'— key HDD attributeslsblk -d -o NAME,ROTA,MODEL— rotational diskshdparm -I /dev/sdX | grep -i rotation— RPM
Verify in this order
request → seek → rotate → transfer
Where it usually breaks
First mismatch in media/firmware → device controller → interface/link → host driver → block device → upper storage layer; preserve identity/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3871