S.M.A.R.T. (Self-Monitoring, Analysis, and Reporting Technology)

These are the basic commands to monitor and analyse the hard drive health state. First things first, install smartmontools if not installed.

In the next commands replace sdx with your hardrive name : (if not root use sudo before the commands)

  • List the drive infos : smartctl -a /dev/sdx

  • Get the brief status of a disk : smartctl -H /dev/sdx

  • Get the temperature infos if the drive is SATA : smartctl -l scttemp /dev/sdx

  • Start a drive test, it is possible to make a short, long, offline… test: smartctl -t short /dev/sdx

  • Read the last selftest data: smartctl -l selftest /dev/sdx

  • To know more about the options use –help, example : smartctl -l --help


MG1

HDDSMART

114 Words

2024-01-31 22:12 +0100

.