Bug#659762: Reproduced without DRBD (just lvm2)

Philip Paradis pparadis at bitfieldlabs.com
Mon Aug 26 05:27:28 UTC 2013


I've been seeing this issue consistently on Wheezy using lvm2 2.02.95-7.
It occurs reliably under the following conditions:

(1) On a Wheezy host, create a 10 GB snapshot of a logical volume that
serves as the disk for a KVM virtual machine. Checking the status of the
origin volume with "dmsetup info" shows it in ACTIVE state.

(2) In the KVM guest, write a 300 MB test file.

(3) On the host, attempt to remove the snapshot; lvremove will fail.

(4) On the host, "dmsetup info" will show the origin volume in SUSPENDED
state.

(5) Resume the suspended origin volume, and removing the snapshot with
lvremove will succeed.

I've updated the script that performs these steps to include a "sync"
after every operation with no change in the above described behavior. A
sync in the guest VM following test file creation also has no effect.

Given the fact that these are production hosts (and VMs), I have been
holding off on attempting to compensate for the issue via installation
of an lvm2 package from unstable or via a source compile for lvm2. Is
there an estimated time of arrival for an updated lvm2 package in the
main repo that addresses these issues? Many thanks to all for any
guidance that can be provided here.

Best Wishes,

Philip Paradis



More information about the pkg-lvm-maintainers mailing list