Inspect temperatures, reallocated sectors, and error logs.

Section: Check and Repair

Show full SMART data

bash
bash
sudo smartctl -a /dev/sda
Explanation

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.
OpenIn sheetbashsame section
Run a short SMART self-test
Schedule a quick device self-test.
OpenIn sheetbashsame section
Scan a device for bad sectors
Perform a read-only bad-block scan.
OpenIn sheetbashsame section
Destructive bad-blocks write test
Use only on disks you can erase completely.
OpenIn sheetbashsame section
Check SMART self-test log
Review completed SMART test results.
OpenIn sheetbashsame section
Read NVMe SMART log
Inspect NVMe wear, temperature, and media error counters.
OpenIn sheetbashsame section