linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Justin Piszcz <jpiszcz@lucidpixels.com>
To: Maurice Hilarius <maurice@harddata.com>
Cc: Bill Davidsen <davidsen@tmr.com>, linux-raid@vger.kernel.org
Subject: Re: Question: how to identify failing disk in a RAID1
Date: Wed, 23 Apr 2008 14:54:15 -0400 (EDT)	[thread overview]
Message-ID: <alpine.DEB.1.10.0804231453390.4441@p34.internal.lan> (raw)
In-Reply-To: <480F7105.9030405@harddata.com>



On Wed, 23 Apr 2008, Maurice Hilarius wrote:

> Hi all.
>
> With much appreciated help from Bell Davidsen and Justin Piszcz I recently 
> dealt with a problem with a RAID1 set, caused by a failing hard disk.
>
> At the end, there is one question remaining, which I think is quite 
> important:
> When one has a RAID5 or RAID6, and a disk starts "acting up" mdadm rapidly 
> kicks out the offending device.
> Some might say "too easily" but that is another thread.
>
> On a RAID1 set, until the failing disk completely "packs it in" it remains 
> part of the RAID.
>
> Why??
>
> Some more background:
> Since the issue was reported and explored I have recreated this on a test 
> machine.
> Installed RAID1 with one known good and one know error prone drive.
> Easy to do as the error drive has a thermal issue.
> Keep it cold, no problems, but after 30 minutes use in a +25C room it start 
> to generate data errors.
> I reproduced exactly the problem I saw before:
> Data errors occur, the other drive in the RAID1 set gets "infected" with the 
> bad data, and the file system will get corrupted.
> On BOTH drives.
>
> This is highly reproducible.
>
> In summary:
> 1) RAID1 lacks significant protection from the effects of a data error 
> condition on a failing drive
> 2) I recommend anyone using madadm refrain from using RAID1 until this issue 
> is addressed and resolved.
>
> Thanks again.
I can confirm this, until you actually REBOOT the host with RAID1 only 
then will it kick it out.  Whereas with RAID5, I experienced the same 
thing, it kicks it out right away, would need to wait for the 
linux-raid/developers to answer this one.

Justin.

  parent reply	other threads:[~2008-04-23 18:54 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-13 19:14 Question: how to identify failing disk in a RAID1 Maurice Hilarius
2008-04-13 19:29 ` Justin Piszcz
2008-04-14  1:14   ` Bill Davidsen
     [not found]     ` <4802CDA2.605@harddata.com>
2008-04-14 16:38       ` Bill Davidsen
     [not found]         ` <4804CD4F.7080303@harddata.com>
2008-04-15 18:14           ` Bill Davidsen
     [not found]             ` <48050DD6.7020404@harddata.com>
     [not found]               ` <48055EFA.8060505@tmr.com>
     [not found]                 ` <480607F2.3060504@harddata.com>
2008-04-17 13:12                   ` Bill Davidsen
     [not found]                     ` <48076096.2020804@harddata.com>
2008-04-18 13:17                       ` Bill Davidsen
     [not found]     ` <480F7105.9030405@harddata.com>
2008-04-23 18:54       ` Justin Piszcz [this message]
     [not found]         ` <480F8830.6020207@harddata.com>
2008-04-23 19:26           ` Justin Piszcz
2008-04-27 17:03             ` Keith Roberts
2008-04-27 19:28               ` Richard Scobie
2008-04-28  5:29                 ` Keith Roberts
2008-04-28  6:06                   ` Michael Tokarev
2008-04-28  7:01                   ` Richard Scobie
2008-04-27 21:53               ` Mark Hahn
  -- strict thread matches above, loose matches on Subject: below --
2008-04-18 17:36 David Lethe

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=alpine.DEB.1.10.0804231453390.4441@p34.internal.lan \
    --to=jpiszcz@lucidpixels.com \
    --cc=davidsen@tmr.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=maurice@harddata.com \
    /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).