linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zkabelac@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>,
	Gang He <GHe@suse.com>
Subject: Re: [linux-lvm] Can't remove the snap LV of root volume on multipath disk PV
Date: Mon, 1 Jul 2019 12:22:30 +0200	[thread overview]
Message-ID: <265c72ee-4589-a83a-38f6-e39ada8c2da0@redhat.com> (raw)
In-Reply-To: <CH2PR18MB32067F038B414DF8CFAD779BCFF90@CH2PR18MB3206.namprd18.prod.outlook.com>

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

  reply	other threads:[~2019-07-01 10:22 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 [this message]
2019-07-03  6:33   ` Gang He

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=265c72ee-4589-a83a-38f6-e39ada8c2da0@redhat.com \
    --to=zkabelac@redhat.com \
    --cc=GHe@suse.com \
    --cc=linux-lvm@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).