[Bug 1807499] Re: 30 seconds boot delay when root fs is on lvm

2019-08-08 Thread gongxp
According to your post, I have modified /lib/udev/rules.d/69-lvm-metad.rules the line 96, but no. # the ACTION!="remove", ENV{violently _pv_gone}=="1", RUN+="/usr/bin/systemd-run /sbin/ LVM pvscan --cache $major:$minor", GOTO=" violently _end" The ACTION!="remove", RUN+="/sbin/ LVM pvscan

[Bug 1807499] Re: 30 seconds boot delay when root fs is on lvm

2018-12-08 Thread Eduard Hasenleithner
A the moment I can see following solutions: (1) Make the lvchange_activate function in /usr/share/initramfs-tools/scripts/local-top/lvm2 a while loop which executes the "lvchange" command repeatedly until the root LV appears (2) Utilize udevd to create the LV devices while wait-for-root is