[linux-lvm] lvm snapshot cannot be removed with the error "Failed to refresh without snapshot"

Zdenek Kabelac zkabelac at redhat.com
Thu Jun 20 11:01:50 UTC 2019


Dne 20. 06. 19 v 7:41 Gang He napsal(a):
> Hello Guys,
> 
> Any ideas? or what information do I need to provide to help this problem?
> 


Hi

It does look like  dmtable had different type of device in place and lvm2
was not able to remove device type.

So was this state a result of some 'regular' workflow you can reproduce?

Or is this some state after some 'vgcfgrestore' usage while some live
LVs were present in table?

Or maybe some incorrectly working error path in code after some failure?

You would probably need to tar /etc/lvm/archive - eventually
open upstream lvm2 community bugzilla:

https://bugzilla.redhat.com/enter_bug.cgi?product=LVM%20and%20device-mapper

and provide steps for reproduction and 'lvmdump -a -m'

Final note - if this bug is happening with some old version of lvm2 - check
first if the newer version isn't already fixed.

Regards

Zdenek




More information about the linux-lvm mailing list