Linux, RHEL 5.5, No raid controller.
Hi, I want to monitor if a drive has failed using output in /var/log/messages. Logs are already collected using a central monitoring solution that i have no control over. Everything seams to run nicely, only one problem. I need to now how a disk failure looks like. I need specific strings to match against.
Is there any way to create run a simulation? Or can I have some example output?
I played a little with echo 1 > /sys/bus/scsi/devices/0:0:0:0/delete and not nice errors like "rejecting I/O to dead device", is that a safe string to grep against?
I also have smartd running, maybe is that a better solution?