Archive for the tag 'SMART'

SBDavid

Useful SMART Commands

Useful SMART Commands

Cpanel script is not very helpful, but you can certainly use these commands for predict and analyze real drive issues:

smartctl -a /dev/hda smartctl -a -d ata /dev/sda <—- for SATA Drives

smartctl -t short /dev/sdb This runs a short test on the drive, you then view the results with the above commands.

Note: you can even just schedule these to run as a cron job and pipe the output to | mail you@youremail.com to automate this.

There are also various scripts you can customize for smartd and smartctl, these scripts are usually in:
There are example scripts included with smartmontools. These are usually located in a location like:

/usr/share/doc/smartmontools-5.33/examplescripts