LVM volume group not activated on boot

Hi,

Since updating to Tumbleweed 20261024, my LVM volume group doesn’t activate automatically, preventing /home from mounting.

My setup is:

$ lsblk --fs
NAME                 FSTYPE      FSVER    LABEL    UUID                                   FSAVAIL FSUSE% MOUNTPOINTS
sda                  crypto_LUKS 2                 0f242473-d72d-43ca-84ed-1693bc790573
└─luksHome           LVM2_member LVM2 001          SlTm71-W3Ec-Ii8A-xXc3-YaIp-s2U8-FLEmIM
  └─vgStorage-lvHome btrfs                         0c47b8d5-7597-4de2-8f92-773c0c7bcd6a        1T    74% /home
...

The luks device is mapped correctly, but then lvm decides the device is too small, which it’s obviously not.

Oct 26 12:29:15 pc lvm[1538]: /dev/mapper/luksHome excluded: device is too small (pv_min_size).
Oct 26 12:30:44 pc systemd[1]: dev-vgStorage-lvHome.device: Job dev-vgStorage-lvHome.device/start timed out.
Oct 26 12:30:44 pc systemd[1]: Timed out waiting for device /dev/vgStorage/lvHome.

I now have to activate it manually in the emergency shell (vgchange -ay vgStorage; mount /home) to continue booting.

pv_min_size appears to be the default (decidedly less than the device size).

# lvmconfig | grep pv_min_size
# grep pv_min_size /etc/lvm/lvm.conf
        # Configuration option devices/pv_min_size.
        # pv_min_size = 2048

Uncommenting this to set it to 2048 explicitly made no difference.
Is there anything I can do about this, or has LVM “forgotten” how to detect the size of mapped devices?

When this is after an update (hopefully from previous version not long ago) then I guess a bug report would be the way to go.

2 Likes

For reference your bugreport which you created. Always post such stuff for completeness
https://bugzilla.opensuse.org/show_bug.cgi?id=1287777

2 Likes

I have the same issue on MicroOS so I rolled back for now. It only seems to happen to LUKS encrypted drives, my other drives in different VGs are OK.