archive mirror
 help / color / mirror / Atom feed
From: David Teigland <>
To: N <>
Subject: Re: [linux-lvm] Possible Bug vgrename
Date: Mon, 21 Jun 2021 14:48:23 -0500	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

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
read the LVM HOW-TO at

  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 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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \
    --subject='Re: [linux-lvm] Possible Bug vgrename' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).