Re: why md/raid5 dont have bad block remap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I think maybe the disk deal with one write comnd with errror,but  the
disk maybe is also ok,and rewrite to other place or  rewrite again
will be good.

why one write error ,set the whole disk faulty.

Disk if very expensive!



On Mon, Dec 28, 2009 at 7:07 PM, Mikael Abrahamsson <swmike@xxxxxxxxx> wrote:
> On Mon, 28 Dec 2009, jin zhencheng wrote:
>
>> hi ,
>>
>> I think it isn't  complicated for raid5 to add bad block remap.
>>
>> "bad block remap" is means that if  a bio is written error, we not
>> fauty the disk, and try to write this bio  to other place which
>> alloced  for bad block remap.
>>
>> i dont  know why MD/raid5 add this function ?
>
> What is done is upon read error the parity is read and the block that had a
> read error is calculated and written, and then the unit in question has the
> responsibility of mapping the block/sector as faulty and write it someplace
> else.
>
> Drives which has used up that space and thus can't remap should be replaced
> with a working drive, it's obviously faulty.
>
> --
> Mikael Abrahamsson    email: swmike@xxxxxxxxx
>
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux