Bug#791869: lvm2: updating src:lvm2 from 2.02.111-2.2 to 2.02.122-1 breaks booting, mounting LVs other than / fails

Rick Thomas rbthomas at pobox.com
Wed Jul 22 02:05:42 UTC 2015


On Jul 21, 2015, at 12:11 PM, Bastian Blank <waldi at debian.org> wrote:

>  However I'm still unable to reproduce the problem
> without a sledgehammer.

I reproduced the problem in a tiny test system as follows:

I created a virtual machine with VMWare running on my Mac.  It has a virtual DVD-drive (loaded with the Jessie 8.1.0 amd64 install image) and three virtual disk drives.  One virtual disk is a small (1 GB) drive to hold /boot.  The other two (4GB each) to be configured at installation time as a software RAID0 housing a single LVM2 physical volume with three logical volumes for root, home, and swap.

When installed with Jessie, everything works fine.

Then I did full-upgrade to Testing/Stretch.  Everything still works fine.

Then I did full-upgrade to Unstable/Sid, and it broke.

When i disabled use_lvmetad in /etc/lvm/lvm.conf and did “update-initramfs -u” things went back to working.

I don’t expect the choice of VMWare as a platform has anything to do with this problem, so you can probably duplicate this procedure with a different VM platform…

The output of lsblk looks like this:

> NAME               MAJ:MIN RM  SIZE RO TYPE  MOUNTPOINT
> fd0                  2:0    1    4K  0 disk  
> sda                  8:0    0    1G  0 disk  
> `-sda1               8:1    0 1022M  0 part  /boot
> sdb                  8:16   0    4G  0 disk  
> `-sdb1               8:17   0    4G  0 part  
>   `-md0              9:0    0    8G  0 raid0 
>     |-stretch-root 253:0    0  3.7G  0 lvm   /
>     |-stretch-swap 253:1    0  1.9G  0 lvm   [SWAP]
>     `-stretch-home 253:2    0  2.4G  0 lvm   /home
> sdc                  8:32   0    4G  0 disk  
> `-sdc1               8:33   0    4G  0 part  
>   `-md0              9:0    0    8G  0 raid0 
>     |-stretch-root 253:0    0  3.7G  0 lvm   /
>     |-stretch-swap 253:1    0  1.9G  0 lvm   [SWAP]
>     `-stretch-home 253:2    0  2.4G  0 lvm   /home
> sr0                 11:0    1 1024M  0 rom   



If it matters, the VM has two virtual CPUs and 2 GB of virtual RAM.

Hope it helps!
Rick


More information about the pkg-lvm-maintainers mailing list