On Tuesday June 12, tomka@xxxxxxxxxx wrote: > >> According to the source: > >> > >> * If an array has active < raid && spare == 0 && spare_group !=NULL > >> * Look for another array with spare > 0 and active == raid and same > >> spare_group > >> * if found, choose a device and hotremove/hotadd > >> > >> This is not happening. What is my mistake? > > > > Is "mdadm --monitor" running? That is required to perform > > spare-migration. > > Yes, of course. Good - I need to get the obvious things out of the way first :-) (reads code). Ahhh. You are using version-1 superblocks aren't you? That code only works for version-0.90 superblocks. That was careless of me. It shouldn't be hard to make it work more generally, but it looks like it will be slightly more than trivial. I'll try to get you a patch in the next day or so (feel free to remind me if I seem to have forgotten). Thanks for testing and reporting this problem. NeilBrown - 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