Linux LVM users
 help / color / mirror / Atom feed
From: Rich Turner <rich@storix.com>
To: Alasdair G Kergon <agk@uk.sistina.com>
Cc: linux-lvm@sistina.com
Subject: Re: [linux-lvm] create vg with same name as exported vg
Date: Fri Oct 10 14:22:02 2003	[thread overview]
Message-ID: <1065813644.1286.16.camel@rich> (raw)
In-Reply-To: <20031010200150.K6588@uk.sistina.com>

LVM1 actually handled this very well. With LVM1 it would rename the VG,
appending "PV_EXP" to the VG name when exporting it. This essentially
would allow creating a new VG with the same original name. I am kind of
surprised this did not carry over to LVM2.

I understand that the easiest solution would be to not be in this
situation. Unfortunately, my company develops disaster recovery software
that allows users to create/re-create/migrate LVM disk configuration. We
need to be very careful about how we detect and create PV's/VG's.

On Fri, 2003-10-10 at 12:01, Alasdair G Kergon wrote:
> > i have run into a situation where lvm2 does not behave the same as lvm1.
> > basically i want to be able to create a vg with the same name as an
> > exported vg.
> 
> > is this a bug within lvm2, is it no longer possible with lvm2, or is
> > there a different procedure to accomplish this?
> 
> The LVM2 tools get confused if they see 2 VGs (1 live, 1 exported) with 
> the same name.  It is not trivial to change to tools to cope with this,
> so for now, you should avoid getting into this situation.  [If
> necessary, use lvm.conf filters to hide the exported PVs while you
> rename the live VG to something else.]
> 
> Alasdair

  reply	other threads:[~2003-10-10 14:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-01 18:15 [linux-lvm] create vg with same name as exported vg Rich Turner
2003-10-02 15:34 ` Rich Turner
2003-10-10 14:03   ` Alasdair G Kergon
2003-10-10 14:22     ` Rich Turner [this message]
2003-10-10 14:42       ` 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=1065813644.1286.16.camel@rich \
    --to=rich@storix.com \
    --cc=agk@uk.sistina.com \
    --cc=linux-lvm@sistina.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