[CentOS] lvm2 2.03.12-6 CentOS Stream broke

Sun Sep 5 15:36:17 UTC 2021
Andy Hall <andyjohnhall at gmail.com>

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.