Re: [linux-lvm] issue (or bug): when vgremove does removing lvmcache

2020-05-26 Thread heming.z...@suse.com
Hello David, very stupid mistake, I used master branch not not latest code to verify this issue. after switching to latest code, this issue disappeared. Thank you for your help. On 5/27/20 5:30 AM, David Teigland wrote: On Sat, May 23, 2020 at 10:03:50PM +0800, heming.z...@suse.com wrote: #

Re: [linux-lvm] issue (or bug): when vgremove does removing lvmcache

2020-05-26 Thread David Teigland
On Sat, May 23, 2020 at 10:03:50PM +0800, heming.z...@suse.com wrote: > # vgremove test --force > Logical volume "main" successfully removed > Assertion failed: can't _pv_write non-orphan PV (in VG ) > Failed to remove physical volume "/dev/sdb" from volume group "test" > Volume group

[linux-lvm] issue (or bug): when vgremove does removing lvmcache

2020-05-23 Thread heming.z...@suse.com
Hello List, when using below reproduced steps, lvm command show error info. ``` # pvcreate /dev/sda /dev/sdb # vgcreate test /dev/sda /dev/sdb # lvcreate --name main --size 200m test /dev/sda # lvcreate --name fast --size 50m test /dev/sdb # lvconvert -y --type cache --cachevol fast