From: Bill Davidsen <davidsen@tmr.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Bernd Eckenfels <ecki@lina.inka.de>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: RAID-5 design bug (or misfeature)
Date: Wed, 01 Jun 2005 14:18:25 -0400 [thread overview]
Message-ID: <429DFBF1.3080402@tmr.com> (raw)
In-Reply-To: <1117454144.2685.174.camel@localhost.localdomain>
Alan Cox wrote:
> On Llu, 2005-05-30 at 03:47, Mikulas Patocka wrote:
>
>>>In article <Pine.LNX.4.58.0505300043540.5305@artax.karlin.mff.cuni.cz> you wrote:
>>>
>>>>I think Linux should stop accessing all disks in RAID-5 array if two disks
>>>>fail and not write "this array is dead" in superblocks on remaining disks,
>>>>efficiently destroying the whole array.
>
>
> It discovered the disks had failed because they had outstanding I/O that
> failed to complete and errorred. At that point your stripes *are*
> inconsistent. If it didn't mark them as failed then you wouldn't know it
> was corrupted after a power restore. You can then clean it fsck it,
> restore it, use mdadm as appropriate to restore the volume and check it.
>
>
>>But root disk might fail too... This way, the system can't be taken down
>>by any single disk crash.
>
>
> It only takes on disk in an array to short 12v and 5v due to a component
> failure to total the entire disk array, and with both IDE and SCSI a
> drive fail can hang the entire bus anyway.
Having somthing called "the entire bus" is more common on SCSI than IDE
(at least well-configured IDE) unless you mean the PCI bus. I regularly
used to see failures of one drive which made the SCSI controller decide
that one other drive was bad. Fortunately some change in either the
drive or controller (IBM ServeRAID) has made that a non-problem.
--
bill davidsen <davidsen@tmr.com>
CTO TMR Associates, Inc
Doing interesting things with small computers since 1979
prev parent reply other threads:[~2005-06-01 18:13 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-29 22:53 RAID-5 design bug (or misfeature) Mikulas Patocka
2005-05-29 23:01 ` Wakko Warner
2005-05-29 23:58 ` Bernd Eckenfels
2005-05-30 2:47 ` Mikulas Patocka
2005-05-30 3:00 ` Bernd Eckenfels
2005-05-30 11:55 ` Alan Cox
2005-05-30 13:23 ` Stephen Frost
2005-05-30 16:09 ` Mikulas Patocka
2005-05-31 8:05 ` Helge Hafting
2005-05-31 21:39 ` Pavel Machek
2005-06-01 1:43 ` Mikulas Patocka
2005-06-01 18:18 ` Bill Davidsen [this message]
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=429DFBF1.3080402@tmr.com \
--to=davidsen@tmr.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=ecki@lina.inka.de \
--cc=linux-kernel@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