Zdenek Kabelac <zkabelac@xxxxxxxxxx> on Mon, 2021/02/22 10:57: > > I've gone through the various tasks that dmeventd is responsible for, > > and I couldn't see anything that'd be strictly necessary during early > > boot. I may be overlooking something of course. Couldn't the monitoring > > As said - during ramdisk boot - monitor shall not be used (AFAIK - dracut > is supposed to use disabled monitoring in it's modified copy of lvm.conf > within ramdisk) I could not find anything in dracut that modifies lvm.conf, but looks like dracut calls the lvm commands with `--ignoremonitoring`. To date this is not handled in lvm2's mkinitcpio hook... Wondering if that would help. Oleksandr, you could undo the udev workaround, then apply the following diff to /usr/lib/initcpio/install/lvm2, regenerate the initramfs and retry? --- lvm2_install (revision 408582) +++ lvm2_install (working copy) @@ -34,6 +34,7 @@ add_file "/usr/lib/udev/rules.d/95-dm-notify.rules" add_file "/usr/lib/initcpio/udev/11-dm-initramfs.rules" "/usr/lib/udev/rules.d/11-dm-initramfs.rules" add_file "/etc/lvm/lvm.conf" + sed -i '/^\smonitoring =/s/1/0/' "${BUILDROOT}/etc/lvm/lvm.conf" # this udev rule is specific for systemd and non-systemd systems if command -v add_systemd_unit >/dev/null; then -- main(a){char*c=/* Schoene Gruesse */"B?IJj;MEH" "CX:;",b;for(a/* Best regards my address: */=0;b=c[a++];) putchar(b-1/(/* Chris cc -ox -xc - && ./x */b/42*2-3)*42);}
Attachment:
pgpYMBxN9rqh1.pgp
Description: OpenPGP digital signature
_______________________________________________ linux-lvm mailing list linux-lvm@xxxxxxxxxx https://listman.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/