Pcornel
Storage · Physical Storage Media › HDD

HDD Failure Modes

Cheat sheet · https://pcornel.dk/topic.php?topic=3877

Back to the Topic

Answer

HDD failure modes include head crashes, motor or bearing failure, growing bad sectors, firmware faults and electronics failure. Rising reallocated or pending sectors and clicking noises are early warnings.

Remember

  • Growing bad sectors signal surface wear.
  • Clicking or slow spin-up signals mechanical failure.
  • Firmware bugs can make drives disappear.

First checks

  • smartctl -a /dev/sdX — reallocated/pending/CRC
  • dmesg | grep -i -e 'I/O error' -e 'medium error' — kernel errors
  • smartctl -t long /dev/sdX — run long self-test

Commands

smartctl -a /dev/sdX
smartctl -t long

Verify in this order

wear/defect → errors → SMART/kernel → replace

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=3877

Confirmation

Confirm action

Continue?