> Rather than polling the /proc filesystem to see if the system goes into
> degraded mode, what are your thoughts on having the kernel exec a command
> when it goes degraded?
I'm currently working on a kernel-raid and xosview patch to enable it
displaying raid member disk status and rebuild/resync status.
I sent a mail to Ingo Molnar and the xosview Linux port author (hoping that
they are the right guys) and I'm still waiting for a replies.
The change to the kernel raid stuff is only a format change in /proc/mdstat
(because I found it quite hard to parse the current format).
The change to xosview involves a new form of "split" meter, combining a
bit meter and a field meter.
The changes to xosview are almost completed, I only need some infos about how
I find out how many md0,md1,...,mdX devices there are in the system (for
letting xosview display one meter for each array). I would put that into
/proc/mdstat, too.
Executing some user command should be possible, too ...
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.