md+lvm problems

Norbert Veber nveber at certicom.com
Fri Aug 19 15:24:24 UTC 2005


On Fri, Aug 19, 2005 at 02:59:45PM +0200, martin f krafft wrote:
> There was a bug about this in the past, and it has been fixed for
> the version of mdadm in sarge.

Do you mean #146759?  The machine I am having this problem on is running
sarge, so I'd say the problem is still there.

mdadm.postinst:
update-rc.d mdadm-raid start 25 S . start 50 0 6 . >/dev/null
lvm-common.postinst:
update-rc.d lvm start 26 S . start 50 0 6 . > /dev/null

I see what the problem is..  Since my system used to be woody, it had an
S25lvm link created by the woody lvm package.  When upgrading to sarge
update-rc.d saw that link and kept it.  I guess lvm-common.postinst
should have a check in there to see if you are upgrading from the woody
version, and if you are, then rename the link.

PS. Why are "start" links ie. S50mdadm-raid created in rc0.d and rc6.d?
    Shouldn't that be K50mdadm-raid?  I looked around /usr/share/doc but
    didn't find any explanation.

Thanks,

Norbert



More information about the pkg-mdadm-devel mailing list