What's the best way to check for HDD errors and early signs of failure on CentOS?
feedback
|
|
I would recommend installing smartmon (http://sourceforge.net/apps/trac/smartmontools/wiki) to your machine this is some software which can check the health of your disks otherwise its going to be checking /var/log/messages or /var/log/syslog for any mentions of scsi errors | |||
feedback
|
The kernel will log any diagnostic messages about I/O devices, so you can check those messages out with the dmesg command. | |||||
feedback
|
|
As Paul says, the SMART logs are a good place to check. I'd also recommend running BadBlocks. If you've got a RAID card, you might have to use the monitoring on that. | |||
|
feedback
|
|
SMART monitoring is a good way. As root, That's a very vague answer though. If you have a server made by any of the big manufacturers (Dell, HP, etc), chances are there are better monitoring capabilities available. | |||
|
feedback
|