Re: Spares and partitioning huge disks

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

 



Mikael Abrahamsson wrote:
On Sat, 15 Jan 2005, Peter T. Breuer wrote:


I also agree that "redundancy per block" is probably a much better idea
than "redundancy per disk". Probably needs a "how hot are you?"
primitive, though!


Would a methodology that'll do

if read error then
  recreate the block from parity
  write to sector that had read error

In theory this should reallocate the bad sector.

wait until write has completed

If the write fails, fail the drive as bad things are going to happen.

  flush buffers
  read back block from drive
    if block still bad
      fail disk
  log result

Make sure the logging is done in such a way as mdadm can send you an E-mail and say. "Hey, sda just had a bad block. Be aware.


Brad
-
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