Package: lvm2
Version: 2.03.11-2.1
Severity: important

Dear Maintainer,

On Debian 11 and 12, VMware virtual machines sometimes fail to boot
because one the Logical Volume is not activated. This happens randomly
and it's not reproducible. When Deian is stuck on the recovery boot, it
is possible to manually activate the failed LV.

The only notable configuration is the use of the "disk.EnableUUID"
property on the virtual machines.

Every time this happens there is a "Skipping checks for old devices
without LVM- dm uuid prefix (kernel vsn 5 >= 3)" message.

See example below. there are two LVs: "vg0/sys" and "vg0/home" on the same
PV and "vg0/home" is not activated resulting in a stuck boot.

Dec 24 05:41:43 web-apo-test lvm[309]: Importing logical volume vg0/sys.
Dec 24 05:41:43 web-apo-test lvm[309]: Importing logical volume vg0/home.
Dec 24 05:41:43 web-apo-test lvm[309]: Found metadata on /dev/sdb at 8704 size 
1650 for VG vg0
Dec 24 05:41:43 web-apo-test lvm[309]: /dev/sdb: size is 62914560 sectors
Dec 24 05:41:43 web-apo-test lvm[309]: lvmcache_update_vg vg0 for info /dev/sdb
Dec 24 05:41:43 web-apo-test lvm[309]: metadata/lvs_history_retention_time not 
found in config: defaulting to 0
Dec 24 05:41:43 web-apo-test lvm[309]: /dev/sdb 0:      0   1024: sys(0:0)
Dec 24 05:41:43 web-apo-test lvm[309]: /dev/sdb 1:   1024   1025: home(1023:0)
Dec 24 05:41:43 web-apo-test lvm[309]: /dev/sdb 2:   2049   1023: sys(1024:0)
Dec 24 05:41:43 web-apo-test lvm[309]: /dev/sdb 3:   3072   1023: home(0:0)
Dec 24 05:41:43 web-apo-test lvm[309]: /dev/sdb 4:   4095   3584: home(2048:0)
Dec 24 05:41:43 web-apo-test lvm[309]: Running command for VG vg0 
C3EjL0-TcSU-61Da-gnD2-2xoa-LKio-sTDtKb
Dec 24 05:41:43 web-apo-test lvm[309]: Getting device info for vg0-sys 
[LVM-C3EjL0TcSU61DagnD22xoaLKiosTDtKbM6Sfe3nVKa9tKxIq6njKzKMEmrky1JKw].
Dec 24 05:41:43 web-apo-test lvm[309]: dm info  
LVM-C3EjL0TcSU61DagnD22xoaLKiosTDtKbM6Sfe3nVKa9tKxIq6njKzKMEmrky1JKw [ 
noopencount flush enablechecks ]   [16384] (*1)
Dec 24 05:41:43 web-apo-test lvm[309]: Getting device info for vg0-home 
[LVM-C3EjL0TcSU61DagnD22xoaLKiosTDtKbkKpuWX5We5YAUqkZUk5H4ItgdmAsofSL].
Dec 24 05:41:43 web-apo-test lvm[309]: dm info  
LVM-C3EjL0TcSU61DagnD22xoaLKiosTDtKbkKpuWX5We5YAUqkZUk5H4ItgdmAsofSL [ 
noopencount flush enablechecks ]   [16384] (*1)
Dec 24 05:41:43 web-apo-test lvm[309]: Skipping checks for old devices without 
LVM- dm uuid prefix (kernel vsn 5 >= 3).
Dec 24 05:41:43 web-apo-test lvm[309]: Counted 1 active LVs in VG vg0
Dec 24 05:41:43 web-apo-test lvm[309]: Getting device info for vg0-sys 
[LVM-C3EjL0TcSU61DagnD22xoaLKiosTDtKbM6Sfe3nVKa9tKxIq6njKzKMEmrky1JKw].
Dec 24 05:41:43 web-apo-test lvm[309]: dm info  
LVM-C3EjL0TcSU61DagnD22xoaLKiosTDtKbM6Sfe3nVKa9tKxIq6njKzKMEmrky1JKw [ 
noopencount flush enablechecks ]   [16384] (*1)
Dec 24 05:41:43 web-apo-test lvm[309]: Getting device info for vg0-home 
[LVM-C3EjL0TcSU61DagnD22xoaLKiosTDtKbkKpuWX5We5YAUqkZUk5H4ItgdmAsofSL].
Dec 24 05:41:43 web-apo-test lvm[309]: dm info  
LVM-C3EjL0TcSU61DagnD22xoaLKiosTDtKbkKpuWX5We5YAUqkZUk5H4ItgdmAsofSL [ 
noopencount flush enablechecks ]   [16384] (*1)
Dec 24 05:41:43 web-apo-test lvm[309]: 1 logical volume(s) in volume group 
"vg0" monitored
Dec 24 05:41:43 web-apo-test lvm[309]: Unlock: Memlock counters: prioritized:0 
locked:0 critical:0 daemon:0 suspended:0

-- System Information:
Debian Release: 11.11
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 
'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-33-amd64 (SMP w/8 CPU threads)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages lvm2 depends on:
ii  dmeventd                  2:1.02.175-2.1
ii  dmsetup                   2:1.02.175-2.1
ii  init-system-helpers       1.60
ii  libaio1                   0.3.112-9
ii  libblkid1                 2.36.1-8+deb11u2
ii  libc6                     2.31-13+deb11u11
ii  libdevmapper-event1.02.1  2:1.02.175-2.1
ii  libedit2                  3.1-20191231-2+b1
ii  libselinux1               3.1-3
ii  libsystemd0               247.3-7+deb11u6
ii  libudev1                  247.3-7+deb11u6
ii  lsb-base                  11.1.0

Versions of packages lvm2 recommends:
ii  thin-provisioning-tools  0.9.0-1

lvm2 suggests no packages.

-- Configuration Files:
/etc/lvm/lvm.conf changed [not included]

-- no debconf information

Reply via email to