From: Gang He <GHe@suse.com>
To: Zdenek Kabelac <zkabelac@redhat.com>,
LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Can't remove the snap LV of root volume on multipath disk PV
Date: Wed, 3 Jul 2019 06:33:55 +0000 [thread overview]
Message-ID: <CH2PR18MB32069E9FAA3406460CB5BDBDCFFB0@CH2PR18MB3206.namprd18.prod.outlook.com> (raw)
In-Reply-To: <265c72ee-4589-a83a-38f6-e39ada8c2da0@redhat.com>
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@redhat.com]
Sent: 2019��7��1�� 18:23
To: LVM general discussion and development <linux-lvm@redhat.com>; Gang He <GHe@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
prev parent reply other threads:[~2019-07-03 6:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-01 6:31 [linux-lvm] Can't remove the snap LV of root volume on multipath disk PV Gang He
2019-07-01 10:22 ` Zdenek Kabelac
2019-07-03 6:33 ` Gang He [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CH2PR18MB32069E9FAA3406460CB5BDBDCFFB0@CH2PR18MB3206.namprd18.prod.outlook.com \
--to=ghe@suse.com \
--cc=linux-lvm@redhat.com \
--cc=zkabelac@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).