dm-raid kernel module not added to initramfs
Task Info (Flyspray) | |
---|---|
Opened By | Tom Yan (tom.ty89) |
Task ID | 71385 |
Type | Bug Report |
Project | Arch Linux |
Category | Packages: Core |
Version | None |
OS | All |
Opened | 2021-06-28 17:50:01 UTC |
Status | Assigned |
Assignee | Christian Hesse (eworm) |
Assignee | Giancarlo Razzolini (grazzolini) |
Details
Description: LVM raid makes use of the kernel module dm-raid. However the lvm2 install hook does not include the module to the initramfs, causing raid type LV not being able to be activated. With a modified udev rule (that is included to the initramfs) I'm able to capture the following error (the LV happens to be not for the root filesystem, so I was wondering why it was quietly skipped, well so I thought):
pvscan[254] PV /dev/sda1 online, VG pi3 is complete. pvscan[254] VG pi3 run autoactivation. modprobe: FATAL: Module dm-raid not found in directory /lib/modules/5.11.4-1-ARCH /usr/bin/modprobe failed: 1 Can't process LV pi3/chia: raid1 target support missing from kernel? 3 logical volume(s) in volume group "pi3" now active pi3: autoactivation failed.
Additional info:
- package version(s) 2.03.11-5 (https://github.com/archlinux/svntogit-packages/blob/ad603bd38d20cacf9f76168980c680c191462358/trunk/lvm2_install#L8)
- config and/or log files etc.
- link to upstream bug report, if any
Steps to reproduce: