Bug#841423: LVM: raid1 kernel module not loaded
Ben Hutchings
ben at decadent.org.uk
Thu Oct 20 22:54:09 UTC 2016
On Fri, 2016-10-21 at 00:17 +0200, Cesare Leonardi wrote:
> Here i've talked about raid1 because it is what i've tested myself, but
> since LVM can handle raid0/1/4/5/6/10, perhaps the same arguments apply
> also to the other raid types.
>
> For example i've noticed that the initramfs' hook from mdadm takes care
> of loading all the raid modules:
> -------------------------------
> for module in linear multipath raid0 raid1 raid456 raid5 raid6 raid10; do
> force_load $module
> done
It should really use manual_add_modules to ensure the modules are
included in the initramfs. It should not force them to be loaded.
> -------------------------------
> Maybe should also lvm2's hook load those modules?
Either dmsetup or lvm2 (I'm not quite sure what the division of
responsibilities is there) should ensure they are included.
Ben.
> And in fact if both lvm2 and mdadm are installed, what i'm reporting
> here doesn't happen: raid modules are loaded by mdadm's hook.
>
> Moreover, if i understand correctly, the grub2 package uploaded to
> unstable 4 days ago (2.02-beta3) is the first that supports booting from
> an LVM raid1: it would be wonderful if that setup could be supported out
> of the box in Debian.
>
>
--
Ben Hutchings
Never put off till tomorrow what you can avoid all together.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20161020/e365bc68/attachment.sig>
More information about the pkg-lvm-maintainers
mailing list