[linux-lvm] Proper way to delete an active snapshot?

Zdenek Kabelac zdenek.kabelac at gmail.com
Tue Aug 30 12:02:28 UTC 2011


Dne 30.8.2011 13:47, Zdenek Kabelac napsal(a):
> Dne 30.8.2011 13:32, Linda A. Walsh napsal(a):
>>
>>
>>
>> If you have a snapshot of a volume running... how are you supposed to delete
>> it?
>>
>> i.e. after you unmount it... if I just do a lvremove, I get a warning about it
>> being
>> an active volume -- so I tried doing a dmsetup remove on it first -- and that
>> stops the warning -- but I just noticed, I had a bunch of inactive 'cow'
>> volume names under 'dmsetup ls', that referred to the old snapshot names.
> 
> 
> lvchange -an  vg/snapshot_lv

Ooops sorry - ignore this one - as this will work with some not yet release target

> 
> Does it work for you ?
> 
> If so - please post  -vvvv  trace.


So just post only  lvremove -vvvv  trace please.

It could be udev-related issue.

Zdenek






More information about the linux-lvm mailing list