Pcornel
Storage · SMART & Disk Health

Pending Sectors

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

Back to the Topic

Answer

Pending sectors (SMART 197) are unreadable sectors waiting to be rewritten or remapped. Any non-zero count means read errors are happening; run a long test, check backups and plan to replace the drive if it grows.

Remember

  • Pending sectors could not be read.
  • They may be remapped on next write.
  • Any count means risk.

First checks

  • smartctl -A /dev/sdX | grep -i pending — ID 197
  • smartctl -t long /dev/sdX — test
  • dmesg | grep -i 'medium error' — read errors

Commands

smartctl -H
smartctl -t long /dev/sdb

Verify in this order

unreadable sector → pending → rewritten/reallocated

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

Confirmation

Confirm action

Continue?