smartctl
SafeDisk health via SMART
smartctl -a <device>
Reads SMART data. Rising Reallocated_Sector_Ct means replace soon. -t short runs a self-test.
Examples
smartctl -a /dev/sda | grep -i -E 'health|realloc'Key health indicators
Syntax
smartctl [-a] [-t short] <device>
Before you run it
Read and self-test only.
Used when you see
Linux disk health check
1
See the whole flow →Read SMART attributes (reallocated sectors etc.)Combine -a output with a short self-test.
The same reference, with no signal at all
Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store