Hi,

> However, are there any tools already available to monitor the md device
> and notify the administrator via mail, modem, pager etc.? 

The most simple thing is to do a crontab entry with a daily cat /proc/mdstat
(std output will get mailed).

You could additionally use grep and look if [UUUU] is there or NOT !?

If you are looking for sth nice to put on your screen (on the server screen or
on a workstations screen by redirecting X output via network):

I recently did some work on xosview 1.7.1 to additionally show a RAID status
monitor with operational disks (green), unoperational disks (red) and rebuild
status (growing bar if in progress or green field if idle).

While doing that, I noticed that /proc/mdstat is not nice to parse (eat least
my own [working] parser code looked quite bad) and wrote a kernel patch
to have some format that parses easier.

The stuff already works for RAID1 and RAID5 (RAID0 doesn't make much sense
because there is no rebuild and because you WILL notice disk failures easily
without xosview ;-| ), but it depends on my kernel RAID patch for /proc/mdstat.

I submitted the stuff to Mike Romberg (xosview) and Ingo Molnar (RAID).
Mike did some changes and integrated it in xosview development tree (thanks!).
Ingo said he'll have a look at it (he seems to be quite busy nowadays working
on RAID stuff. Thanks, too!).

But: There are some open questions, see next mail.

So if you are looking for some nice X11 stuff, then just wait a bit and look out
for new xosview and raidpatch stuff ...

Thomas
-- 


Thomas Waldmann (com_ma, Computer nach Masz)
email: [EMAIL PROTECTED]  www:   www.com-ma.de
Please be patient if sending me email, response may be slow.
Bitte Geduld, wenn Sie mir email senden, Antwort kann dauern.

Reply via email to