linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: "Stuart D. Gathman" <stuart@bmsi.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Cc: Phillip Susi <psusi@cfl.rr.com>
Subject: Re: [linux-lvm] LVM mirror questions
Date: Wed, 6 Oct 2010 13:03:22 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.64.1010061255250.12083@bmsred.bmsi.com> (raw)
In-Reply-To: <86106.13599.qm@web120714.mail.ne1.yahoo.com>

On Wed, 6 Oct 2010, Jay wrote:

> Thank you for your answer and advice.  How unfortunate about lvm mirroring
> being broken.  I like your suggestion about how it SHOULD work.   In fact,
> long ago in a different age when I was working with rs6000s, I believe that
> is how reliable mirroring was accomplished with the ibm lvm.  Either that or

Yes, AIX mirroring was great.

The current LVM strategy could work, just use the option to store the 
mirror log on the same PV as one of the mirrors.  If you lose the PV
without the log - no problem.  If you lose the PV *with* the log, it
reverts to an in-core log, which is not a problem with the single remaining
leg.  The drawback to this is performance.  The main reason to put the
mirror log on a 3rd device is so the 3 writes occasioned by every write
to the LV can be done in parallel.

I don't know how LVM handles issues of PVs that are not permanently dead
and come back on line again later.  The md driver uses a generation count in
the super block to determine which is newer. (How is that updated without loss
of efficiency?)

I still use the md driver myself.  The LVM mirror support just doesn't "feel"
reliable yet.

-- 
	      Stuart D. Gathman <stuart@bmsi.com>
    Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.

  reply	other threads:[~2010-10-06 17:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-04 23:55 [linux-lvm] LVM mirror questions Jay
2010-10-05  8:02 ` Petr Rockai
2010-10-06 15:50   ` Jay
2010-10-06 16:37     ` Ray Morris
2010-10-06 17:23     ` Petr Rockai
2010-10-05 15:40 ` Phillip Susi
2010-10-06 15:26   ` Jay
2010-10-06 17:03     ` Stuart D. Gathman [this message]
2010-10-06 17:40       ` Petr Rockai
2010-10-06 18:57         ` Phillip Susi
2010-10-07 12:14           ` Petr Rockai

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=Pine.LNX.4.64.1010061255250.12083@bmsred.bmsi.com \
    --to=stuart@bmsi.com \
    --cc=linux-lvm@redhat.com \
    --cc=psusi@cfl.rr.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).