Bug#549691: lvm2: can't remove unmounted snapshot volume

Peter Rajnoha prajnoha at redhat.com
Wed May 19 20:10:49 UTC 2010


On 04/07/2010 03:24 AM, Celejar wrote:
> I'm seeing the same problem trying to remove a snapshot volume.  It is not
> mounted, but it can't be removed:
> 
> ~# lvremove /dev/lizzie/var_backup 
>   Can't remove open logical volume "var_backup"
> 
> ~# lvchange -a n /dev/lizzie/var_backup 
>   Can't change snapshot logical volume "var_backup"
> 

As a quick and rough check, you can try to temporarily kill udev daemon and then
see if these commands pass. If yes, then this is just another instance of quite
common error seen where lvm2's udev synchronization feature is not used (a device
being opened and scanned from within udev rules while trying to deactivate it).





More information about the pkg-lvm-maintainers mailing list