All of lore.kernel.org
 help / color / mirror / Atom feed
From: Phillip Susi <psusi@cfl.rr.com>
To: device-mapper development <dm-devel@redhat.com>
Subject: Re: BUG in dm/dm-mirror module?
Date: Mon, 13 Aug 2007 17:21:12 -0400	[thread overview]
Message-ID: <46C0CB48.20702@cfl.rr.com> (raw)
In-Reply-To: <B9BBD91E-F103-40DA-85BA-4FBAF0BB0F59@redhat.com>

Jonathan Brassow wrote:
> It is a special problem with the mirror log.
> 
> Mirrors will recover themselves and become consistent upon a reboot.  In 
> the case of a mirror that holds a file system, if you lost some of your 
> most recent writes, journaling/fsck will take care of it.  In the case 
> of a mirror that holds another mirror's log, you wind up with a log that 
> does not contain recent data - and could spell coherency issues for the 
> top level mirror.

Having a filesystem that is consistent is still not correct if it is 
older data, at least not when the newer data is available.

> There is no metadata on the other drive, that's part of the problem.  We 
> must discern between metadata that is made by LVM (or other userspace 
> app) and meta-data areas that are known to the device mapper target.  
> Currently, the mirroring target only has the log device - which I 
> contend is insufficient.

LVM needs to update its metadata to indicate that the other drive failed 
and this one now contains more up to date information going forward.

  reply	other threads:[~2007-08-13 21:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-11  1:08 BUG in dm/dm-mirror module? malahal
2007-08-11  8:52 ` Milan Broz
2007-08-13 15:18   ` Jonathan Brassow
2007-08-13 16:48     ` Phillip Susi
2007-08-13 20:18       ` Jonathan Brassow
2007-08-13 21:21         ` Phillip Susi [this message]
2007-08-14 15:55         ` malahal
2007-08-13 18:24     ` 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=46C0CB48.20702@cfl.rr.com \
    --to=psusi@cfl.rr.com \
    --cc=dm-devel@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.