lkml.org 
[lkml]   [2005]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: software RAID
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-05-20 23:54    [W:0.707 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site