Bug#684708: mdadm: support external metadata arrays correctly

Miquel van Smoorenburg miquels at debian.org
Mon Aug 20 11:05:50 UTC 2012


On 20-08-12 11:42 AM, Michael Tokarev wrote:
> There's one more thing missing in there: mdmon should be re-started
> from real root after switching from rootfs -- the takeover.  I guess
> it needs to be added to mdadm-raid.

Is that really necessary? Can't we just leave it as-is, so the number of 
changes is minimized for now? On systems that don't have external 
metadata arrays (i.e. most of them) mdmon won't be running anyway.

> BTW, why mdadm-waitidle is a separate script?  Can't we fold it into
> mdadm-raid directly?

Well no, because it needs to run after all filesystems have been 
unmounted and root is read-only. Unless ofcourse you change mdadm-raid 
to run after root has been remounted read-only, but I do not know what 
consequences that change would have.

> The more I think about this all, the more it looks like it is too
> heavily change for wheezy.  I understand the situation, but I still
> think it is not a good idea in general.  Oh well.

Well I still think this is more a bugfix than a new feature, since right 
now the functionality is there, it's just broken.

Mike.



More information about the pkg-mdadm-devel mailing list