Bug#684708: mdadm: support external metadata arrays correctly
Miquel van Smoorenburg
miquels at debian.org
Wed Sep 5 21:49:04 UTC 2012
On 13.08.2012 14:10, Miquel van Smoorenburg wrote:
> Package: mdadm
> Version: 3.2.5-1
> Severity: serious
> Tags: patch wheezy sid
>
> The initramfs hook supplied by mdadm doesn't install mdmon. Also, mdmon
> is not included in the .udeb for the installer.
Here is a revised patch. I proposed the patch to mdmon.c (to symlink the
pidfile into /run/sendsigs.omit.d/) on the linux-raid mailinglist, and
Neil Brown remarked "why not do that in an init script just before
sendsigs runs". Which is ofcourse a good idea, no changes to mdmon.c
required, just 3 lines added to /etc/init.d/mdadm.
I was careful to ensure that if you do not have a raid device with
external metadata, this patch does exactly nothing. And on systems with
a raid device with external metadata it will enhance data integrity due
to /etc/init.d/mdadm-waitidle.
Thanks,
Mike.
More information about the pkg-mdadm-devel
mailing list