From: Mario 'BitKoenig' Holbe <Mario.Holbe@TU-Ilmenau.DE>
To: linux-raid@vger.kernel.org
Subject: Re: No syncing after crash. Is this a software raid bug?
Date: Thu, 2 Mar 2006 14:48:25 +0100 [thread overview]
Message-ID: <du6t39$be5$1@sea.gmane.org> (raw)
In-Reply-To: 20060301215641.GA27042@hactar.lan
Kasper Dupont <48755289462761382922@expires.02.sep.2006.kasperd.net> wrote:
> A bit too aggressive it seems. How can it end up being marked
> clean when the two mirrors differ?
Do you have write-cache enabled on the mirrors?
Sometimes I have differences between RAID1 mirrors in 2.4, too. Even with
clean shutdown or reboot sequences. However, in my case, it turns out
that this always affects areas which are "free" on the filesystem layer.
This assumption is especially feeded by
a) the fact that the content of at least one of these differing areas is
typically zeroed and
b) that I have md5sums of all my files which don't show up any
differences when I either copy the non-zero content over the zeros or the
other way around.
Especially I have never experienced such "normal" differences on my swap
RAID1 mirrors. Until now I thought this would have to do with kernel 2.4
and block-device-specific dirty-page-flushing and missing write-barriers
and things like that which lead to blocks used for a short time only get
flushed to the one mirror but not to the other (and then, since they are
freed again, the flush to the other mirror will never happen, since the
associated pages are just not dirty anymore).
However, I thought - at least until now ;) - this would change with 2.6,
since there md has more control over the block-devices it uses.
regards
Mario
--
The question of whether a computer can think is no more interesting than
the question of whether a submarine can swim. -- E. W. Dijkstra
next prev parent reply other threads:[~2006-03-02 13:48 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-01 12:44 No syncing after crash. Is this a software raid bug? Kasper Dupont
2006-03-01 13:58 ` Luca Berra
2006-03-01 16:24 ` Mike Hardy
2006-03-01 21:56 ` Kasper Dupont
2006-03-02 13:48 ` Mario 'BitKoenig' Holbe [this message]
2006-03-03 13:39 ` Heinz Mauelshagen
2006-03-03 14:30 ` Mario 'BitKoenig' Holbe
2006-03-03 22:26 ` Heinz Mauelshagen
2006-03-03 23:01 ` Mario 'BitKoenig' Holbe
2006-03-04 9:01 ` Heinz Mauelshagen
2006-03-04 10:10 ` Mario 'BitKoenig' Holbe
2006-03-03 7:30 ` Kasper Dupont
2006-03-03 12:03 ` Mario 'BitKoenig' Holbe
2006-03-03 12:38 ` Mario 'BitKoenig' Holbe
2006-03-03 14:48 ` Kasper Dupont
2006-03-03 15:10 ` Mario 'BitKoenig' Holbe
2006-03-04 13:16 ` Kasper Dupont
2006-03-04 13:38 ` Mario 'BitKoenig' Holbe
2006-03-04 19:50 ` Kasper Dupont
2006-03-07 10:47 ` Heinz Mauelshagen
2006-03-07 11:18 ` Kasper Dupont
2006-03-07 12:12 ` Heinz Mauelshagen
2006-03-10 7:43 ` Heinz Mauelshagen
2006-03-10 7:49 ` Kasper Dupont
2006-03-16 7:24 ` Kasper Dupont
2006-03-16 14:04 ` Heinz Mauelshagen
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='du6t39$be5$1@sea.gmane.org' \
--to=mario.holbe@tu-ilmenau.de \
--cc=linux-raid@vger.kernel.org \
/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).