[linux-lvm] Can't remove the snap LV of root volume on multipath disk PV
Gang He
GHe at suse.com
Wed Jul 3 06:33:55 UTC 2019
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:zkabelac at redhat.com]
Sent: 2019年7月1日 18:23
To: LVM general discussion and development <linux-lvm at redhat.com>; Gang He <GHe at suse.com>
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
More information about the linux-lvm
mailing list