Hi Zdenek,

Thank for your reply, the bug is opened at 
https://bugzilla.redhat.com/show_bug.cgi?id=1726524
I feel maybe RHEL lvm2 also has the similar problem.
The problem looks to related with multipath disk PV. 

Thanks
Gang

-----Original Message-----
From: Zdenek Kabelac [mailto:[email protected]] 
Sent: 2019年7月1日 18:23
To: LVM general discussion and development <[email protected]>; Gang He 
<[email protected]>
Subject: Re: Can't remove the snap LV of root volume on multipath disk PV

Dne 01. 07. 19 v 8:31 Gang He napsal(a):
> Hello List,
> 
> I am using lvm2-2.02.180 on SLES12SP4, I cannot remove the snap LV of root 
> volume, which is based on multipath disk PV.
> e.g.
> linux-kkay:/ # lvremove /dev/system/snap_root
>    WARNING: Reading VG system from disk because lvmetad metadata is invalid.
> Do you really want to remove active logical volume system/snap_root? [y/n]: y
>    device-mapper: reload ioctl on  (254:3) failed: Invalid argument
>    Failed to refresh root without snapshot.
> 
> But, I can remove the snap LV of data volume successfully, e.g.
> linux-kkay:/ # lvremove /dev/system/data_snap
>    WARNING: Reading VG system from disk because lvmetad metadata is invalid.
> Do you really want to remove active logical volume system/data_snap? [y/n]: y
>    Logical volume "data_snap" successfully removed
> 
> If I use the ordinary disk as PV (rather than multipath disk), I cannot 
> encounter this problem (both snap LVs can be removed).
>

Hi

Please open new BZ case and provide full -vvvv traces of failing command and 
also possibly attache  'dmsetup table' 'dmsetup ls --tree' and 'dmsetup info 
-c' 'dmsetup status'


Regards

Zdenek


_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

Reply via email to