Re: Why not just return an error?
From: Edward Kuns <hidden>
Date: 2016-10-07 23:11:37
On Fri, Oct 7, 2016 at 9:43 AM, Phil Turmel [off-list ref] wrote:
I want to see the relocations growing in my daily logwatch reports so I can use mdadm --replace to maintain the array without *any* loss of redundancy.
Is this report something you added to base logwatch? I don't see any
such report in my daily logwatch. Maybe you only see this if the
relocations are non-zero?
Let's say one has a RAID-5 and two drives develop bad sectors (in
different areas) at the same time that for whatever reason are not
repairable. (Or someone ignores errors on one drive long enough that
another develops problems, or someone never did scrubbing so didn't
find out about bad sectors in one drive until multiple drives had bad
sectors.) OK, you ddrescue the two drives and reassemble the array.
What will a RAID scrub do when it gets to the area that was zeroed?
Clearly the checksum will be invalid for those sections.
Thanks,
Eddie