Skip to content

Smartctl Commands for Testing Disk Health

Info

Disk Info

smartctl -i /dev/sdb

Health Status

smartctl -H /dev/sdb

List Tests and Durations

smartctl -c /dev/sdb

Tests

Short

smartctl -t short /dev/sdb

Long

smartctl -t long /dev/sdb

Test Status

Before Completing

Run the test again

After Completing (Test Results)

smartctl -l selftest /dev/sdb

Reference