Thread (15 messages) 15 messages, 4 authors, 2010-10-01

Re: raid5+hotspare: request for recommended procedure

From: Jon Hardcastle <hidden>
Date: 2010-09-29 14:29:37

--- On Wed, 29/9/10, Stefan G. Weichinger <lists@xunil.at> wrote:
From: Stefan G. Weichinger <redacted>
Subject: Re: raid5+hotspare: request for recommended procedure
To: "linux-raid@vger.kernel.org" <redacted>
Date: Wednesday, 29 September, 2010, 15:25
Am 2010-09-29 12:03, schrieb Tim
Small:
quoted
Run smartctl -t long, and see what the LBA of the
errors are (smartctl
quoted
-a when finished, and look at the error log) - it may
be that it is
quoted
outside of the used space (e.g. right at the end of
the drive - I've
quoted
seen this in the past) if this is the case, you can
just dd over it.
quoted
If the test completes without error then the
unreadable sector is either
quoted
not user-addressable, or doesn't really exist, in
which case I'd ignore
quoted
it (or perhaps a security-erase will get the drive
back into a sensible
quoted
state).  Some of the earlier firmwares for the
ST3250310NS were a little
quoted
buggy in my experience, so you might want to look at
upgrading it
quoted
(latest Seagate non-OEM firmware is SN06), which can
be done with hdparm.

Yep, it finished without error!

Does that mean I could ignore that safely?

Or should I rebuild the raids onto the spare-disk and then
swap drive?

S
--
Personally I would trust nothing less than a dammed good thrashing from badblocks -svw ideally or -svn if the drive has data on it. Then an smart offline check to be sure the pending/reallocated sector counts have no increased.

Before commissioning a new drive a do a badblocks -svw atleast 3 times without any counters increasing (something there are bad sectors I just want to flush them out early) then I do some short, long and offline smart tests.

Then I add to the array, then I run check a couple of times.


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