http://bugzilla.opensuse.org/show_bug.cgi?id=935993
http://bugzilla.opensuse.org/show_bug.cgi?id=935993#c64
Fabian Vogt
Hi Thomas, reassigning to you (are you still the right person?) as this is a dracut problem.
2 issues: 1/ "man mkinitrd" claims that "-A" creates a "monster initrd" but as far as I can see it has no effect. Indeed, "-A" sets host_only to 0, but that variable isn't used anywhere... Fix is underway.
2/ The host_modalias stuff in dracut doesn't handle md/raid modules. I've tested the code fragment I posted to initramfs@vger.kernel.org and it appears to work. Wouldn't it be better to use the hostonly='' instmods <mod> trick here, together with your parsing of /proc/mdstat? That's IMO much more straightforward.
The dracut.modules manpage says: instmods will not install the kernel module, if $hostonly is set and the kernel module is not currently needed by any /sys/.../uevent MODALIAS. To install a kernel module regardless of the hostonly mode use the form: hostonly='' instmods <kernelmodule> As the uevent modalias doesn't make much sense for RAID (if md0 is available, the module is already loaded and working), ignoring the aliases makes most sense here. -- You are receiving this mail because: You are on the CC list for the bug.