Pcornel
Storage · SMART & Disk Health

SMART Attributes

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

Back to the Topic

Answer

SMART attributes are numbered health counters with current, worst and threshold values plus a raw value, such as 5 reallocated, 197 pending, 198 uncorrectable and 199 CRC errors. The raw value is usually most useful.

Remember

  • Raw values matter most.
  • Key IDs: 5, 187, 197, 198, 199.
  • Vendors differ.

First checks

  • smartctl -A /dev/sdX — attribute table
  • smartctl -x /dev/sdX — extended info
  • smartctl -A -f brief /dev/sdX — flags

Commands

smartctl -A
smartctl -l selftest

Verify in this order

drive counters → attributes → thresholds

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

Confirmation

Confirm action

Continue?