PDA

View Full Version : How to check for HDD failures


PeterNic
03-02-2008, 09:34 PM
Frequently hard disks don't fail outright, they start by having lots of errors.

You can check a particular hard drive by logging in as root (maintainer) on the particular server and running the following command:

(for SATA drives)
smartctl -d ata -a /dev/sda

If you have more than one HDD, also check /dev/sdb, etc.

For details on the output, see http://smartmontools.sourceforge.net/man/smartctl.8.html

If any questions/suggestions/comments, please reply to this thread.

Regards,
-- Peter