SMART Attributes
Cheat sheet · https://pcornel.dk/topic.php?topic=4322
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 tablesmartctl -x /dev/sdX— extended infosmartctl -A -f brief /dev/sdX— flags
Commands
smartctl -Asmartctl -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