Disc failure detection on a Perc 3/DC running linux?
I have a Poweredge 1550 with a Perc 3/DC Raid card (AMI Megaraid) that I intend to use in a colocation site.
The operating system is slackware linux and since it takes an hour to get to the site, I wan't to be able to detect hardware failures from a ssh shell.
I'm already running lm-sensors to check that fans are spinning and voltages within limits, very neat.
So, how can I detect a harddrive failure from a bash shell?
Is there any Megaraid parameter under /proc that will change value at the same time the lights go from green to amber and the annoying alarm sound starts?
I haven't found a server of mine that has the 3/DC, but our 4/QC has a /proc/megaraid/hba2/diskdrives-ch[0-3] that list drive statuses for the array. Check that out and let me know if the 3/DC is similar.
Ferb
23 Posts
390
0
Posted January 17th, 2006 15:00
ferb!