hi there since updating my system to include the following package... # rpm -qi lvm2 Name : lvm2 Epoch : 8 Version : 2.03.12 Release : 6.el8 Architecture: x86_64 <snip> Build Date : Thu 12 Aug 2021 06:06:53 BST Build Host : x86-01.mbox.centos.org ...all LV commands just hang (pvdisplay / vgdisplay / lvdisplay / etc) which in turn is stopping dracut from generating the initramfs for the new kernel from the same update... 71464 pts/4 S+ 0:00 | \_ /bin/bash -p /bin/dracut -f /boot/initramfs-4.18.0-338.el8.x86_64.img 4.18.0-338.el8.x86_64 71483 pts/4 S+ 0:00 | \_ /bin/cat 71601 pts/4 S+ 0:00 | \_ /bin/bash -p /bin/dracut -f /boot/initramfs-4.18.0-338.el8.x86_64.img 4.18.0-338.el8.x86_64 71602 pts/4 D+ 0:00 | \_ lvm vgs --noheadings -o pv_name cs_ctream ( see dracut running the lvm vgs command...which never returns...so dracut nevern completes...so I can't boot into the new kernel ) any ideas on this one ? is it a known issue ? or is there anything else I can do to troubleshoot further ? thanks very much.
> hi there since updating my system to include the following package... > > # rpm -qi lvm2 > Name : lvm2 > Epoch : 8 > Version : 2.03.12 > Release : 6.el8 > Architecture: x86_64 > <snip> > Build Date : Thu 12 Aug 2021 06:06:53 BST > Build Host : x86-01.mbox.centos.org > > ...all LV commands just hang (pvdisplay / vgdisplay / lvdisplay / etc) > which in turn is stopping dracut from generating the initramfs for the > new kernel from the same update... > > 71464 pts/4 S+ 0:00 | \_ /bin/bash -p > /bin/dracut -f /boot/initramfs-4.18.0-338.el8.x86_64.img > 4.18.0-338.el8.x86_64 > 71483 pts/4 S+ 0:00 | \_ /bin/cat > 71601 pts/4 S+ 0:00 | \_ /bin/bash -p > /bin/dracut -f /boot/initramfs-4.18.0-338.el8.x86_64.img > 4.18.0-338.el8.x86_64 > 71602 pts/4 D+ 0:00 | \_ lvm vgs > --noheadings -o pv_name cs_ctream > > ( see dracut running the lvm vgs command...which never returns...so > dracut nevern completes...so I can't boot into the new kernel ) > > any ideas on this one ? is it a known issue ? or is there anything > else I can do to troubleshoot further ?And when you downgrade lvm2, does it work again? Simon
Simon Matter said... "And when you downgrade lvm2, does it work again?" Thanks for the reply Simon. Found this great doc here : https://access.redhat.com/solutions/57300 So I added the following filter to /etc/lvm/lvm.conf to exclude non-block-devices from the scan... # grep ^filter /etc/lvm/lvm.conf filter = [ "a|/dev/sda.*|", "a|/dev/sdb.*|", "r|/dev/sdc.*|", "r|/dev/sdd.*|", "r|/dev/sde.*|" ] ( essentially sda / sdb are the two SSD in my system under LVM control...the rest are USB devices ) And now the LV commands complete...so dracut completes...and I can boot into the new kernel !! Thanks for your help.