]> git.ipfire.org Git - thirdparty/dracut.git/commit
feat(lvm): always include all drivers that LVM can use
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Wed, 14 Dec 2022 10:44:51 +0000 (11:44 +0100)
committerAntonio Álvarez Feijoo <antonio.feijoo@suse.com>
Fri, 27 Jan 2023 15:16:35 +0000 (16:16 +0100)
commita109c6123ffa8506379b73a4b1aeee4d0b67866d
tree0f403b69378a0d3fd9e0200c37ab8dfcd943a573
parent1aafcab935b7e84cea8fc3f084b6935f87b2b8a5
feat(lvm): always include all drivers that LVM can use

This patch adds all the kernel modules that might be needed by LVM, to avoid
having to rebuild the initrd in hostonly mode after a dynamic change that
requires new drivers to boot.

For example, LVM allows to dynamically convert a linear logical volume to a
RAID-1 type (`lvconvert --type raid1 vg/lv`), which, in hostonly mode, will
require the user to manually rebuild the initrd again to include the new RAID
drivers in use, otherwise the system will fail to boot.
modules.d/90lvm/module-setup.sh