Smartmontools notes

This document make basic but useful considerations about smartmontools. For more detailed information, see its documentation.

smartmontools

Basics

To view SMART information (that is store in your HDD controller), do (replace $device by your device)::

    # smartctl -A $device

To view the logs of the latests tests::

    # smartctl -l selftest $device

To start a new long test to check for bad blocks::

    # smartctl -t long $device