From: Andre Noll <maan@systemlinux.org>
To: "Keld Jørn Simonsen" <keld@dkuug.dk>
Cc: linux-raid@vger.kernel.org
Subject: Re: resync'ing - what is going on
Date: Thu, 10 Jul 2008 20:03:05 +0200 [thread overview]
Message-ID: <20080710180305.GA4247@skl-net.de> (raw)
In-Reply-To: <20080710165459.GA17542@rap.rap.dk>
[-- Attachment #1: Type: text/plain, Size: 637 bytes --]
On 18:54, Keld Jørn Simonsen wrote:
> And what happens if a discrepancy is found? Which of the 2 copies are the
> good one?
Nobody can tell. IIRC, the md code picks the one with the smallest drive
id.
> For raid5 and raid6 I could imagine that the parity blocks were cheked.
For raid5 you still can't tell which of the copies (if any) is
good. For raid6 you can tell under the assumption that exactly one
drive has bad data. However, the raid6 code currently does not try
to fix up errors.
Have a look at the archives for more..
Andre
--
The only person who always got his work done by Friday was Robinson Crusoe
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2008-07-10 18:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-10 16:54 resync'ing - what is going on Keld Jørn Simonsen
2008-07-10 17:45 ` Jon Nelson
2008-07-10 18:03 ` Andre Noll [this message]
2008-07-11 4:51 ` Neil Brown
2008-07-11 22:29 ` Keld Jørn Simonsen
2008-07-12 10:44 ` Neil Brown
2008-07-12 11:50 ` Keld Jørn Simonsen
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=20080710180305.GA4247@skl-net.de \
--to=maan@systemlinux.org \
--cc=keld@dkuug.dk \
--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).