Thread (80 messages) 80 messages, 14 authors, 2005-01-16

Re: Spares and partitioning huge disks

From: Brad Campbell <hidden>
Date: 2005-01-15 10:31:23

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

quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help