Hi
On Thu, Jan 12, 2023 at 03:18:55PM +0100, Christian Herzog wrote:
> on our storage servers, we employ LVM filters to hide data partitions
> from the OS (since they're iSCSI exported to the frontend
> fileserver). With bookworm, lvm does not activate the root VG when
> filters are in place. So far we have been able to establish the
> following facts:
> - with the default global_filter settings, it does boot
Okay.
> - with global_filter = [ "a|pci-0000:04.*|", "r|.*|" ] (to only
> activate the root VG) bookworm drops into busybox (no root fs
> found)
So it could be that the filter does not apply that early.
> - manually activating the root VG in busybox allows us to boot
> (by copy/pasting the IMPORT{program} lines from the udev rule)
Which one? "pvscan"? That one does not activate anything.
> - replacing /usr/sbin/lvm and /lib/udev/rules.d/69-lvm.rules on
> bookworm with the bullseye versions fixes the problem
What are you replacing exactly? The bullseye version did not include
/lib/udev/rules.d/69-lvm.rules at all, see
https://packages.debian.org/bullseye/amd64/lvm2/filelist.
> - the problem seems to be related (but not identical) to #1018730
This one is about partial VG.
> We've already spent 2 days trying to narrow down the underlying cause as
> much as possible and we'd be happy to provide any additional information
> since for us this is a bookworm deal breaker.
Please provide the output of "pvs", "vgs", "lvs" and the kernel log.
Bastian
--
I'm a soldier, not a diplomat. I can only tell the truth.
-- Kirk, "Errand of Mercy", stardate 3198.9