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

2017-10-25 Thread Alexander 'Leo' Bergolth
On 10/24/2017 01:03 PM, Zdenek Kabelac wrote: > Dne 23.10.2017 v 18:40 Alexander 'Leo' Bergolth napsal(a): >> On 10/23/2017 04:44 PM, Heinz Mauelshagen wrote: >>> Removing such per leg snapshot should be possible after the raid1 LV got >>> deactivated. >> >> Hmm. This LV is currently in use. Any

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

2017-10-24 Thread Zdenek Kabelac
Dne 23.10.2017 v 18:40 Alexander 'Leo' Bergolth napsal(a): On 10/23/2017 04:44 PM, Heinz Mauelshagen wrote: LVM snapshots are meant to be used on the user visible raid1 LVs. You found a bug allowing it to be used on its hidden legs. Removing such per leg snapshot should be possible after the

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

2017-10-23 Thread Alexander 'Leo' Bergolth
On 10/23/2017 04:44 PM, Heinz Mauelshagen wrote: > LVM snapshots are meant to be used on the user visible raid1 LVs. > You found a bug allowing it to be used on its hidden legs. > > Removing such per leg snapshot should be possible after the raid1 LV got > deactivated. Hmm. This LV is currently

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

2017-10-23 Thread Heinz Mauelshagen
Hi Alexander, LVM snapshots are meant to be used on the user visible raid1 LVs. You found a bug allowing it to be used on its hidden legs. Removing such per leg snapshot should be possible after the raid1 LV got deactivated. Heinz On 10/23/2017 04:19 PM, Alexander 'Leo' Bergolth wrote:

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

2017-10-23 Thread Alexander 'Leo' Bergolth
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<

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

2017-10-23 Thread Alexander 'Leo' Bergolth
Hi! As the raid1 check of my two-drive LV recently reported a mismatch count > 0, I did some forensics. 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