I just encountered the same problem on an upgrade from 9.x to 10.1,
when using LABEL= directives in /etc/fstab.  I also had to use
"vgchange -ay" in the boot rescue shell.  Changing fstab to use
/dev/vg*/* paths resulted in a system that boots without intervention.

----------------------------------------
reportbug --template lvm2 output includes

Package: lvm2
Version: 2.03.02-3

Debian Release: 10.1
 APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'oldstable-updates'),
(500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-6-amd64 (SMP w/2 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
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.155-3
ii  dmsetup                   2:1.02.155-3
ii  libaio1                   0.3.112-3
ii  libblkid1                 2.33.1-0.1
ii  libc6                     2.28-10
ii  libdevmapper-event1.02.1  2:1.02.155-3
ii  libdevmapper1.02.1        2:1.02.155-3
ii  libreadline5              5.2+dfsg-3+b13
ii  libselinux1               2.8-1+b1
ii  libsystemd0               241-7~deb10u1
ii  libudev1                  241-7~deb10u1
ii  lsb-base                  10.2019051400

Versions of packages lvm2 recommends:
ii  thin-provisioning-tools  0.7.6-2.1
----------------------------------------
Failing /etc/fstab included these lines

LABEL=DEB_ROOT  /                       ext4    noatime                 0 1
LABEL=DEB_USR   /usr                    ext4    noatime                 0 2
LABEL=DEB_VAR   /var                    ext4    noatime                 0 2
LABEL=BOOT      /boot                   ext4    noatime                 0 2
LABEL=TMP       /tmp                    ext4    noatime,nodev           0 2
LABEL=HOME      /home                   ext4    noatime                 0 2
LABEL=ALL       /all                    ext4    noatime                 0 2
LABEL=SWAP      swap                    swap    sw                      0 0

----------------------------------------
Working /etc/fstab includes these lines

/dev/vgfast/deb_root    /                       ext4    noatime
         0 1
/dev/vgfast/deb_usr     /usr                    ext4    noatime
         0 2
/dev/vgfast/deb_var     /var                    ext4    noatime
         0 2
/dev/vgfast/tmp         /tmp                    ext4    noatime,nodev
         0 2
/dev/vgfast/home        /home                   ext4    noatime
         0 2
/dev/vgfast/all         /all                    ext4    noatime
         0 2
/dev/vgfast/swap        swap                    swap    sw
         0 0
LABEL=BOOT              /boot                   ext4    noatime
         0 2

----------------------------------------

Reply via email to