From: Luca Berra <bluca@comedia.it>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] LVM mirroring questions...
Date: Fri, 11 Apr 2008 18:18:20 +0200 [thread overview]
Message-ID: <20080411161817.GA5028@percy.comedia.it> (raw)
In-Reply-To: <Pine.LNX.4.44.0804080716300.23698-100000@bmsred.bmsi.com>
On Tue, Apr 08, 2008 at 07:25:05AM -0400, Stuart D. Gathman wrote:
>On Tue, 8 Apr 2008, Jess Bromley wrote:
>
>> Also does the fact that software RAID doesn't use a disk log mean that
>> LVM is actually better/faster than RAID at correctly recovering from
>> crashes that leave the mirrored disks out of sync?
>
>The md driver doesn't track which blocks are out of sync. It recovers
>from a crash by copying the entire partition. On recent versions, it
>tracks how far it has gotten on the resync in the md superblock, so that it
>doesn't have to start from scratch on a reboot.
this is not entirely correct.
md has a bitmap feature that is used to track which blocks are out of
sync.
>The md driver keeps its superblock at the *end* of the partition. This
>means that you can mount any filesystem/pv as the raw partition.
again, newer version of md allow to put the superblock at the beginning
of the device (or 4k from the beginning)
>This requires that LVM give md devices preference when scanning for
>PVs to work correctly :-)
this should be the default in lvm.
L.
--
Luca Berra -- bluca@comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
next prev parent reply other threads:[~2008-04-11 16:18 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-08 9:14 [linux-lvm] LVM mirroring questions Jess Bromley
2008-04-08 11:01 ` Marcin Kałuża
2008-04-08 11:14 ` Jess Bromley
2008-04-08 11:25 ` Stuart D. Gathman
2008-04-11 16:18 ` Luca Berra [this message]
2008-04-15 7:51 ` Jayson Vantuyl
2008-04-29 10:17 ` Morten Torstensen
2008-04-29 14:01 ` Stuart D. Gathman
2008-04-29 14:24 ` Marek Podmaka
2008-04-08 11:14 ` Stuart D. Gathman
-- strict thread matches above, loose matches on Subject: below --
2008-04-08 9:55 Karl Wagner
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=20080411161817.GA5028@percy.comedia.it \
--to=bluca@comedia.it \
--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.