reconstructing raid5 with bad sectors

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

 



i have a 4 disk array which (due to power problems) has bad sectors on two
of the disks.  as far as i can tell the bad sectors are not in overlapping
stripes of the raid -- so in theory every stripe has 3 components still
available.  but the kernel doesn't like this situation because it
considers a disk to be either all good or all bad :)

is there an offline tool which can reconstruct such an array?  or even an
offline tool which already has the parity calculation code and such which
i could extend to support such reconstruction?

i considered copying the two bad disks with "dd conv=noerror,sync", which
would stop the kernel from marking the drives as bad, but that seems a bit
less than ideal because i really would like to reconstruct the bad stripes
using the 3 valid copies and not include an all-zeroes copy created by dd.

-dean
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
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