linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: linux@horizon.com
To: linux-raid@vger.kernel.org
Subject: Re: scrub was Re: RAID5 Problem - $1000 reward for help
Date: 21 Sep 2006 16:20:08 -0400	[thread overview]
Message-ID: <20060921202008.4872.qmail@science.horizon.com> (raw)

>> Does this test stress the discs a lot, like a resync?
>> How long does it take?
>> Can I use it on a mounted array?

> I'd like to add to this question -- does 'check' action on a RAID5 array
> verify the accuracy of parity data, blindly read back all data, or only
> verify readability of data blocks?

The former: it reads all data and verifies the parity.

It's a bit hard to see buried in drivers/md/raid5.c:handle_stripe5(),
which is more than a little intricate.  If you search for
MD_RECOVERY_CHECK in there, you can see where it rewrites the newly
added disk if syncing or just notes the problem if checking.

             reply	other threads:[~2006-09-21 20:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-21 20:20 linux [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-09-15  9:08 RAID5 Problem - $1000 reward for help Reza Naima
2006-09-17 10:55 ` Ask Bjørn Hansen
2006-09-17 11:36   ` Tuomas Leikola
2006-09-17 12:46     ` scrub was " Dexter Filmore
2006-09-17 13:21       ` Tuomas Leikola
2006-09-21 18:45       ` Rob Bray

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=20060921202008.4872.qmail@science.horizon.com \
    --to=linux@horizon.com \
    --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).