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

yum install smartmontools

Getting overall health information

smartctl -a /dev/sda

Running a basic disk check

smartctl -t short /dev/sda

Running a detailed disk check

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: