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

Zdenek Kabelac zkabelac at redhat.com
Tue Aug 30 11:47:03 UTC 2011


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

Does it work for you ?

If so - please post  -vvvv  trace.

Zdenek








More information about the linux-lvm mailing list