From: David Teigland <teigland@redhat.com>
To: N <dundir@gmail.com>
Cc: linux-lvm@redhat.com
Subject: Re: [linux-lvm] Possible Bug vgrename
Date: Mon, 21 Jun 2021 14:48:23 -0500 [thread overview]
Message-ID: <20210621194823.GA32112@redhat.com> (raw)
In-Reply-To: <917d8044-4e7b-e54e-fe69-f60c6703a00f@gmail.com>
On Mon, Jun 21, 2021 at 11:32:12AM -0700, N wrote:
> Is there a way to temporarily rename (without actually renaming) the volume
> groups (i.e. like setting a mask for the volume group names), or is there a
> way to force vgrename to actually make the change even if there is an
> existing conflict (preferably without a reboot)?
You can set a device filter the vgrename command so it only sees the
devices with the VG you want to change, and won't see devices with the
duplicate name.
vgrename --config 'devices/filter=["a|/dev/...|", "r|.|"]' vg1 vg2
_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://listman.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
next prev parent reply other threads:[~2021-06-21 19:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-21 18:32 [linux-lvm] Possible Bug vgrename N
2021-06-21 19:48 ` David Teigland [this message]
2021-06-21 20:00 ` Alasdair G Kergon
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=20210621194823.GA32112@redhat.com \
--to=teigland@redhat.com \
--cc=dundir@gmail.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).