On Wed, Dec 05, 2007 at 03:31:14PM -0500, Bill Davidsen wrote: > BTW: if this can be done in a user program, mdadm, rather than by code in > the kernel, that might well make everyone happy. Okay, realistically "less > unhappy." I start to like the idea. Of course you can't repair a running array from user space (just think about something re-writing the full stripe while mdadm is trying to fix the old data - you can get the data disks containing the new data but the "fixed" disks rewritten with the old data). We just need to make the kernel not to try to fix anything but merely report that something is wrong - but wait, using "check" instead of "repair" does that already. So the kernel is fine as it is, we just need a simple user-space utility that can take the components of a non-running array and repair a given stripe using whatever method is appropriate. Shouldn't be too hard to write for anyone interested... Gabor -- --------------------------------------------------------- MTA SZTAKI Computer and Automation Research Institute Hungarian Academy of Sciences --------------------------------------------------------- - 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