Storage · SMART & Disk Health
SMART
Cheat sheet · https://pcornel.dk/topic.php?topic=4321
Answer
SMART (Self-Monitoring, Analysis and Reporting Technology) is the drive's built-in health reporting. Read it with smartctl -a, run self-tests with smartctl -t long, and monitor it continuously with smartd.
Remember
- smartctl -a reads data.
- Overall PASSED can be misleading.
- smartd monitors continuously.
First checks
smartctl -a /dev/sdX— full reportsmartctl -t long /dev/sdX— long testsmartctl -l selftest /dev/sdX— test results
Verify in this order
drive firmware → SMART data → host
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=4321