Monitoring PERC3/4 using megaraid2

Philip Rowlands phr at
Fri Apr 16 10:12:00 CDT 2004

On Fri, 16 Apr 2004, Tom Brown wrote:

>However as i don't have a test system to hand can anyone tell me what
>happens when a drive dies? Is it marked as offline?

I'd suggest either grep'ping out the "known good" pattern:

$ grep -v '^Channel: . Id: . State: Online' /proc/megaraid/hba*/diskdrives*

or simply comparing the /proc pseudo-file to a saved copy from 5 minutes
ago, which will alert you to any changes, of whatever kind.


More information about the Linux-PowerEdge mailing list