All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tim Small <tim@seoss.co.uk>
To: lists@xunil.at,
	"linux-raid@vger.kernel.org" <linux-raid@vger.kernel.org>
Subject: Re: raid5+hotspare: request for recommended procedure
Date: Wed, 29 Sep 2010 11:03:33 +0100	[thread overview]
Message-ID: <4CA30EF5.8020702@seoss.co.uk> (raw)
In-Reply-To: <4CA300EB.1070909@xunil.at>

On 29/09/10 10:03, Stefan G. Weichinger wrote:
> I also ran a "echo check>  /sys/block/mdX/md/sync_action" because this
> had helped to remove those errors at another server, unfortunately it
> did not help here.
>
> Could you please advise what the better and safer alternative would be?
>
>    

Run smartctl -t long, and see what the LBA of the errors are (smartctl 
-a when finished, and look at the error log) - it may be that it is 
outside of the used space (e.g. right at the end of the drive - I've 
seen this in the past) if this is the case, you can just dd over it.

If the test completes without error then the unreadable sector is either 
not user-addressable, or doesn't really exist, in which case I'd ignore 
it (or perhaps a security-erase will get the drive back into a sensible 
state).  Some of the earlier firmwares for the ST3250310NS were a little 
buggy in my experience, so you might want to look at upgrading it 
(latest Seagate non-OEM firmware is SN06), which can be done with hdparm.

Tim.

-- 
South East Open Source Solutions Limited
Registered in England and Wales with company number 06134732.
Registered Office: 2 Powell Gardens, Redhill, Surrey, RH1 1TQ
VAT number: 900 6633 53  http://seoss.co.uk/ +44-(0)1273-808309


  reply	other threads:[~2010-09-29 10:03 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-29  9:03 raid5+hotspare: request for recommended procedure Stefan G. Weichinger
2010-09-29 10:03 ` Tim Small [this message]
2010-09-29 10:06   ` Tim Small
2010-09-29 12:42   ` Stefan G. Weichinger
2010-09-29 14:25   ` Stefan G. Weichinger
2010-09-29 14:29     ` Jon Hardcastle
2010-09-29 15:08       ` Stefan G. Weichinger
2010-09-29 15:39         ` Jon Hardcastle
2010-09-30  9:50           ` Stefan G. Weichinger
2010-10-01  9:00             ` Stefan G. Weichinger
2010-10-01  9:59               ` Stefan G. Weichinger
2010-10-01 21:20                 ` Stefan G. Weichinger
2010-09-29 12:01 ` Michael Tokarev
2010-09-29 12:21   ` Tim Small
2010-09-29 12:38     ` Stefan G. Weichinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CA30EF5.8020702@seoss.co.uk \
    --to=tim@seoss.co.uk \
    --cc=linux-raid@vger.kernel.org \
    --cc=lists@xunil.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.