Hetzner - DokuWiki

SMART/en

S.M.A.R.T. error monitoring and reporting on drives

S.M.A.R.T. is a function of modern drives that allows them to monitor themselves and, where appropriate, send an error status to the Host controller.

In Linux these functions can be controlled and the status read by using the program smartctl. With Debian apt-get can simply be used to install S.M.A.R.T.

Configuring and using S.M.A.R.T

Activating:

smartctl -s on -d ata /dev/sda

Querying:

smartctl -a -d ata /dev/sda
smartctl -A -d ata /dev/sda

Drive info:

smartctl -i -d ata /dev/sda

Drive health status:

smartctl -H /dev/sda

Drive capabilities:

smartctl -c -d ata /dev/sda

Self test:

smartctl -t short -d ata /dev/sda

Self test results:

smartctl -l selftest -d ata /dev/sda

Show errors (if any):

smartctl -l error -d ata /dev/sda


© 2012. Hetzner Online AG. Alle Rechte vorbehalten.