From: Robin Hill <robin@robinhill.me.uk>
To: David Liontooth <lionteeth@cogweb.net>
Cc: linux-raid@vger.kernel.org
Subject: Re: Raid1 rebuild slows to a crawl
Date: Fri, 13 Jan 2012 08:46:59 +0000 [thread overview]
Message-ID: <20120113084659.GA24667@cthulhu.home.robinhill.me.uk> (raw)
In-Reply-To: <4F0FE4CD.3070703@cogweb.net>
[-- Attachment #1: Type: text/plain, Size: 1759 bytes --]
On Fri Jan 13, 2012 at 01:31:17PM +0530, David Liontooth wrote:
>
> I'm trying to use a WD3200AAKX-001CA0 drive in a raid1 configuration
> (Debian squeeze mdadm 3.1.4-1+8efb9d1), but adding it is unusably slow:
>
> # cat /proc/mdstat
> Personalities : [raid1]
> md1 : active raid1 sdb3[2] sda3[1]
> 73015360 blocks [2/1] [_U]
> [>....................] recovery = 0.0% (28928/73015360)
> finish=2521.6min speed=482K/sec
>
> dmesg shows no errors:
>
> md: recovery of RAID array md0
> md: minimum _guaranteed_ speed: 1000 KB/sec/disk.
> md: using maximum available idle IO bandwidth (but not more than 200000
> KB/sec) for recovery.
>
> The drive itself doesn't seem to have a problem, though it's not
> particularly fast:
>
> # hdparm -tT /dev/sdb
>
> /dev/sdb:
> Timing cached reads: 11220 MB in 2.00 seconds = 5614.03 MB/sec
> Timing buffered disk reads: 174 MB in 6.44 seconds = 27.01 MB/sec
>
> # smartctl -a /dev/sdb
>
> 5 Reallocated_Sector_Ct 0x0033 133 133 140 Pre-fail Always
> FAILING_NOW 1265
>
It has 1265 reallocated sectors, reports FAILING_NOW, and you say it
doesn't seem to have a problem? At a guess, it's repeatedly getting a
write failure, hitting the error retry timeout (which is quite long for
consumer drives),failing the sector, then reallocating it and moving on
to do the same with the next sector.
Get rid of this drive and get a replacement - there's no way you can
rely on it at all.
Cheers,
Robin
--
___
( ' } | Robin Hill <robin@robinhill.me.uk> |
/ / ) | Little Jim says .... |
// !! | "He fallen in de water !!" |
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2012-01-13 8:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-13 8:01 Raid0 rebuild slows to a crawl David Liontooth
2012-01-13 8:44 ` Kay Diederichs
2012-01-13 9:36 ` David Liontooth
2012-01-13 8:46 ` Robin Hill [this message]
2012-01-14 20:13 ` Stefan /*St0fF*/ Hübner
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=20120113084659.GA24667@cthulhu.home.robinhill.me.uk \
--to=robin@robinhill.me.uk \
--cc=linux-raid@vger.kernel.org \
--cc=lionteeth@cogweb.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).