Re: Maximizing failed disk replacement on a RAID5 array
am 13.06.2011 07:56:47 von Durval MenezesHello Brad, folks,
On Wed, Jun 8, 2011 at 4:57 AM, Brad Campbell
> On 08/06/11 15:47, Durval Menezes wrote:
>
>> I'm sorry if I did not make myself clear; I've already run both a
>> "repair" on the RAID =A0(see above) and a "smart -t long" on the
>> particular disk... I had about 40 bad sectors before, and now have
>> just 4, but these 4 sectors persist as being marked in error... I
>> think the "RAID repair" didn't touch them.
[...]
> I've never had md not report a repaired sector when performing a repa=
ir
> operation.
Just to keep you posted: after I finished replacing that failing disk,
I wrote zeroes to all its sectors (dd bs=3D16065b /dev/DISK=
)
and then checked SMART again.
Guess what? As expected, the 4 sectors that were being reported in
both "Current_Pending_Sector" and "Offline_Uncorrectable" just went
away... both counters now report a big round "0".
So, it seems my hypothesis that these sectors were not being touched
by the md "repair" was indeed correct: once they were written to, they
ended up being automatically remapped (or at least cleaned out of the
above counters) by the HD firmware. Also, as the array resync reported
no errors whatsoever, it seems these sectors were simply not being
used by md.
Anyone has a good explanation to that? Inquiring minds want to know... =
:-)
Cheers,
--=20
Durval Menezes.
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" i=
n
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html