Bug#659762: lvm2: LVM commands freeze after snapshot delete fails

Bastian Blank waldi at debian.org
Fri Aug 2 10:49:42 UTC 2013


clone -1 -2
retitle -1 lvm2 - Failed snapshot removal produces suspended devices
severity -1 grave
retitle -2 lvm2 - udev calls blkid on to be removed devices
thanks

On Mon, Feb 13, 2012 at 04:03:53PM +0000, Paul LeoNerd Evans wrote:
> # lvremove vg_cel/backups-20110930
> Do you really want to remove active logical volume backups-20110930? [y/n]: y
>   Unable to deactivate open vg_cel-backups--20110930-cow (254:35)
>   Failed to resume backups-20110930.
>   libdevmapper exiting with 7 device(s) still suspended.

This are in fact two bugs:
- If the cow device is open for some reason---cat is sufficient to
  trigger this---, the whole removal fails and devices remain suspended.
- udev calls blkid on cow devices that the kernel wants to remove during
  a "change" event.

Bastian

-- 
Madness has no purpose.  Or reason.  But it may have a goal.
		-- Spock, "The Alternative Factor", stardate 3088.7



More information about the pkg-lvm-maintainers mailing list