From: Neil Brown <neilb@suse.de>
To: Colin McCabe <colin.p.mccabe@gmail.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: unreadable drives can be synchronized?
Date: Thu, 17 May 2007 10:54:07 +1000 [thread overview]
Message-ID: <17995.42927.362919.938781@notabene.brown> (raw)
In-Reply-To: message from Colin McCabe on Wednesday May 16
On Wednesday May 16, colin.p.mccabe@gmail.com wrote:
> Hi all,
>
> I am running software RAID on Linux 2.6.21.
>
> While experimenting with adding and removing devices from the RAID array, I
> noticed something very troubling. I have a bad drive (let's call it drive B)
> which gets random read errors. I also have a good drive, call it drive A.
>
> B can synchronize with A. But then, if I remove A from the raid array, A
> cannot be re-added. This is because the bad drive, B, cannot be read from.
Well, if you remove A, then you have the situation of trusting your
data to a single drive. And we all know that isn't very safe.
>
> I wonder if anyone else is interested in a "paranoid recovery" mode where the
> md layer tests the data that has been written. Even if this doubles the
> recovery time, I think that it would be desirable for many applications.
I think it is just as easy to run a 'check' pass after recovery has
completed.
Whenever you are commissioning new hardware, it makes sense to do some
testing before you trust it with valuable data.
It sounds like this particular hardware failure lends itself to easy
discovery with a bit of testing - indeed, you found it while testing
your hardware. So I don't think it is a failure mode we need to put
any extra care in to.
It is the failure modes that are hard to find with basic testing that
we should worry about.
NeilBrown
next prev parent reply other threads:[~2007-05-17 0:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-16 15:50 unreadable drives can be synchronized? Colin McCabe
2007-05-16 17:22 ` Bill Davidsen
2007-05-16 20:09 ` Colin McCabe
2007-05-16 20:18 ` Colin McCabe
2007-05-17 0:54 ` Neil Brown [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-05-18 14:47 Andrew Burgess
2007-05-18 15:04 ` Tomasz Chmielewski
2007-05-18 18:18 ` Colin McCabe
2007-05-23 17:46 ` Bill Davidsen
2007-05-18 18:10 ` Colin McCabe
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=17995.42927.362919.938781@notabene.brown \
--to=neilb@suse.de \
--cc=colin.p.mccabe@gmail.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).