linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Alasdair G Kergon <agk@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Poison pills
Date: Wed, 3 Oct 2007 20:28:46 +0100	[thread overview]
Message-ID: <20071003192846.GP18444@agk.fab.redhat.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0710031449370.29351-100000@bmsred.bmsi.com>

On Wed, Oct 03, 2007 at 03:06:42PM -0400, Stuart D. Gathman wrote:
> What happens in linux LVM?  If it sees 
> two conflicting metadatas for the same VGID, what happens?
 
It'll apply some simple rules to distinguish them (e.g. if one has the
current hostname written into its metadata identifying the machine where
it was created and the other doesn't it'll select that one), but if it
can't tell them apart it will pick one at random (not in the strict
sense of that word - in identical external conditions it'll always
choose the same one) and use that.   [The hostname test is less use than
you might think, as many VGs are created with identical hostnames during
installation, and others are accessed early in the boot sequence before
the hostname has been set.]

BTW vgrename accepts the VGID as a parameter.

Alasdair
-- 
agk@redhat.com

  reply	other threads:[~2007-10-03 19:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-03 19:06 [linux-lvm] Poison pills Stuart D. Gathman
2007-10-03 19:28 ` Alasdair G Kergon [this message]
2007-10-03 21:47 ` malahal
2007-10-04 16:13   ` Stuart D. Gathman
2007-10-04 17:57     ` malahal

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=20071003192846.GP18444@agk.fab.redhat.com \
    --to=agk@redhat.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).