Friday, July 21, 2017

Get Smart!

smartmontools are awesome!


Get status of a drive:

smartctl -a /dev/sda

USB connected drive:


smartctl -d sat,12 -a /dev/sdb


Run a quick test:


smartctl -d sat,12 -t short /dev/sdb

Run a more in-depth test:


smartctl -d sat,12 -t long /dev/sdb


No comments: