mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: Adam Miller <amiller@gravity.phys.uwm.edu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: software RAID
Date: Sat, 21 May 2005 01:50:25 +0400	[thread overview]
Message-ID: <428E5BA1.8040301@tls.msk.ru> (raw)
In-Reply-To: <Pine.LNX.4.62.0505201246520.13530@gannon.phys.uwm.edu>

Adam Miller wrote:
> Hi,
>   We're looking to set up either software RAID 1 or RAID 10 using 2 SATA 
> disks.  If a disk in drive A has a bad sector, can it be setup so that 
> the array will read the sector from drive B and then have it rewrite the 
> bad sector on drive A?  Please CC me in the response.

Adam,

There's no such functionality in linux software raid exists now.
Instead, as it is implemented now, the whole drive is kicked off
the array in case of *any* error in I/O path.  There are patches
by Peter T. Breuer for 2.4 kernel for raid1, named "robust read",
which does just that, but the patches aren't accepted in mainline,
and in 2.6, the subsystem is too different.  Maybe in some future...

And BTW, there's no reason to set up RAID10 array on top of 2 drives ;)

/mjt

  parent reply	other threads:[~2005-05-20 21:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-20 17:56 Adam Miller
2005-05-20 20:03 ` Lennart Sorensen
2005-05-20 20:21   ` Valdis.Kletnieks
2005-05-20 20:36   ` Grzegorz Kulewski
2005-05-20 20:53     ` Adam Miller
2005-05-21 19:03   ` Alan Cox
2005-05-20 21:50 ` Michael Tokarev [this message]
2005-05-20 22:11 ` Neil Brown
2005-05-21  3:31   ` Matthias Andree

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=428E5BA1.8040301@tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --cc=amiller@gravity.phys.uwm.edu \
    --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

all inboxes | Powered by JetHome®