All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stuart D Gathman <stuart@bmsi.com>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] Duplicate PV's - how does LVM choose which one to use
Date: Tue, 21 Feb 2012 11:49:40 -0500	[thread overview]
Message-ID: <4F43CB24.5060901@bmsi.com> (raw)
In-Reply-To: <20120221164321.GA14666@agk-dp.fab.redhat.com>

Long ago, Nostradamus foresaw that on 02/21/2012 11:43 AM, Alasdair G 
Kergon would write:
> On Tue, Feb 21, 2012 at 10:35:03AM -0600, Ray Morris wrote:
>> Perhaps when duplicates are found the seqno should be incremented
>> so it DOES use the same one next time, and generate a warning
>> indicating which one is out of date?
> Wouldn't be possible - it can't distinguish between them (or we'd not
> be in this situation).
>
> If they have the same UUID it assumes they are different paths to the same
> device and picks one of them to use.
>
> But there are other cases (like hardware snapshot, mirror that failed to
> start up first) where it's better to stop and force the sysadmin to fix
> things.
>
But if they are different paths, incrementing seqno won't hurt, both 
paths will see the change.  And if it is a mirror that failed to start, 
then the chosen leg is now distinguishable.  Is there a problem with 
incrementing seqno an extra time at startup when multipath is the normal 
situation?

  reply	other threads:[~2012-02-21 16:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-21  8:40 [linux-lvm] Duplicate PV's - how does LVM choose which one to use Danilo Godec
2012-02-21 12:09 ` Alasdair G Kergon
2012-02-21 16:35   ` Ray Morris
2012-02-21 16:43     ` Alasdair G Kergon
2012-02-21 16:49       ` Stuart D Gathman [this message]
2012-02-21 17:07         ` 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=4F43CB24.5060901@bmsi.com \
    --to=stuart@bmsi.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.