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

Bastian Blank waldi at debian.org
Tue Jul 21 18:37:16 UTC 2015


On Mon, Jul 20, 2015 at 11:11:43AM +1200, Ben Caradoc-Davies wrote:
> Booting succeeds for me with / and /home on separate LVs in a single
> crypto-luks PV (see lsblk below) with lvm2 2.02.122-2 amd64. However, after
> updating to the latest lvm2, "pvscan", "pvs", "vgs", and "lvs" all hang
> indefinitely until I manually run "pvscan --cache". They worked fine with
> 2.02.111-2.2, probably because lvmetad was not enabled.

Thanks for the information, this is finaly a clue what is going on.

> output of "strace pvs" while hung:

Is there a pvscan or similar task running?  This is the only time where
the state info is set this way.

> Then "man lvmetad" led me to "pvscan --cache".

Yeah.  pvscan should be run by udev for each new device.  For some
reason this either don't work, breaks in the middle or no idea what
happens.

Bastian

-- 
Oblivion together does not frighten me, beloved.
		-- Thalassa (in Anne Mulhall's body), "Return to Tomorrow",
		   stardate 4770.3.



More information about the pkg-lvm-maintainers mailing list