Last update: 2019-02-27

Hard disk health check in Linux


For hard drives that support S.M.A.R.T. you can use the smart utilities to check for any errors.

Installing the tools

<bash>
yum install smartmontools

Getting overall health information

<bash>
smartctl -a /dev/sda

Running a basic disk check

<bash>
smartctl -t short /dev/sda

Running a detailed disk check

<bash>
smartctl -t long /dev/sda


© 2007-2019 Patrick Lambert - All resources on this site are provided under the MIT License - You can contact me at: contact@dendory.net