Inspect temperatures, reallocated sectors, and error logs.
Section: Check and Repair
Show full SMART data
bash
bash
sudo smartctl -a /dev/sdaExplanation
Inspect temperatures, reallocated sectors, and error logs.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Check and Repair
Show SMART overall health
Quick disk health check for SMART-capable devices.
Destructive bad-blocks write test
Use only on disks you can erase completely.
Read NVMe SMART log
Inspect NVMe wear, temperature, and media error counters.