For my NAS monitoring daemon, I have decided to check the status of my RAID arrays by parsing /proc/mdstat. (I did consider using sysfs, ioctls, or mdadm, but /proc/mdstat seems to be the most efficient way to get a "snapshot" of the state of all the arrays.) I've played around with various setups and failure scenarios in a VM, and I've also reviewed md_seq_show() in md.c. Based on this, I've written parsing code that can handle everything that I've been able to come up with so far. But that's just me ... Does anyone know of or have a collection of /proc/mdstat examples that can be used for testing? Thanks! -- ======================================================================== Ian Pilcher arequipeno@xxxxxxxxx Sometimes there's nothing left to do but crash and burn...or die trying. ======================================================================== -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html