Thread (9 messages) 9 messages, 8 authors, 2008-07-15

Re: How to avoid complete rebuild of RAID 6 array (6/8 active devices)

From: Matthias Urlichs <hidden>
Date: 2008-07-14 10:44:16

On Sun, 29 Jun 2008 17:58:30 -0400, Bill Davidsen wrote:
Of course build an array out of drives so unstable that you can't safelt
*run* a check is another topic.
It's a topic that needs to be addressed sooner or later, however.

Let's face it, drives do develop bad spots.

Tossing a perfectly good drive because 0.0000064% of the data cannot be
read is wasteful (assuming a 64-kByte area of an 1-terabyte disk).

My basic approach would be, whenever a read error is encountered, to tell
the disk drive to fix the bad area (either by rewriting the problem area
or by hardware reallocation or by using devmapper), fix the data (either
tell the RAID driver that this particular area needs to be recovered or
do it in userspace), and re-add the drive.

So ... is there some userspace code which, given a bunch of RAID disks,
can rebuild the array? Limiting said rebuild to one particular area on
one particular disk should then be reasonably easy.

-- 
Matthias Urlichs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help