[linux-lvm] unable to remove snapshot of raid1 leg

Alexander 'Leo' Bergolth leo at strike.wu.ac.at
Mon Oct 23 14:29:12 UTC 2017


On 10/23/2017 04:19 PM, Alexander 'Leo' Bergolth wrote:
> One experiment was to create a snapshot of one leg of the mirror and try
> to mount the snapshot. This worked fine but unfortunately I cannot
> remove the snapshot now!
> 
> lvm wants to remove the origin too:
> -------------------- 8< --------------------
> # lvremove vg_test/snap_leg_0
> Do you really want to remove active origin logical volume vg_test/testlv_rimage_0 with 1 snapshot(s)? [y/n]: n
>   Logical volume vg_test/testlv_rimage_0 not removed.
> -------------------- 8< --------------------
> (I have added the full history of a test setup below.)

The output of lvremove -vvv is available at:

http://leo.kloburg.at/tmp/lvm-remove-raid1-leg-snapshot/lvremove-vvv.txt

I am using lvm2-2.02.171-8.el7.x86_64.

--leo
-- 
e-mail   ::: Leo.Bergolth (at) wu.ac.at
fax      ::: +43-1-31336-906050
location ::: IT-Services | Vienna University of Economics | Austria




More information about the linux-lvm mailing list