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