From: Phil Turmel <philip@turmel.org>
To: Tomas M <tomas@slax.org>, stan@hardwarefreak.com
Cc: linux-raid@vger.kernel.org
Subject: Re: How to prefer some devices over others in raid
Date: Wed, 01 Jan 2014 15:21:50 -0500 [thread overview]
Message-ID: <52C478DE.2060504@turmel.org> (raw)
In-Reply-To: <CAL1oBhovXZhnKMqzoYt=7N5ZHeyX76LK+1LNYMRmcQGGqs7W3w@mail.gmail.com>
On 01/01/2014 01:00 PM, Tomas M wrote:
>> Your initial post suggested you knew which drive was flaky. Now you
>> indicate you don't know which, if any, is flaky. This suggests you have
>> no idea why your array is slow.
>
> Well, I always have an indication which drive is flaky, based on dmesg
> output (e.g. hard resetting ATA3 link, etc). However, sometimes it
> reports that more than one drive has problems, and I can't be 100%
> sure which of the flaky drives is the "more flaky" one :) and it is
> too late to replace any of them, since there is high chance that the
> other one dies as well during resync (which happened to me few times
> already). From my point of view it is better for me to keep the array
> in sync as long as I can, and copy the data somewhere as fast as I
> can.
If you've experienced drive drops during resync a "few times already",
and you don't say that such drives were obviously dead, it makes me
suspicious that you are using non-enterprise drives.
Using non-enterprise drive in any raid array can expose you to false
failures from the timeout mismatch problem. If you care to share the
output of "smartctl -x" for all of your drives, and "for x in
/sys/block/*/device/timeout ; do echo $x $(< $x) ; done", we can
immediately figure that out for you.
If you want to understand the issue, search this list's archives for
various combinations of "scterc", "URE", "timeout mismatch". You should
also see if your distro has a cron job that performs a "check" scrub on
your arrays for you.
HTH,
Phil
next prev parent reply other threads:[~2014-01-01 20:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-31 14:42 How to prefer some devices over others in raid Tomas M
2013-12-31 15:17 ` Stan Hoeppner
2014-01-01 6:50 ` Tomas M
2014-01-01 7:05 ` NeilBrown
2014-01-01 16:49 ` Stan Hoeppner
2014-01-01 18:00 ` Tomas M
2014-01-01 20:21 ` Phil Turmel [this message]
2014-01-02 14:30 ` Stan Hoeppner
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=52C478DE.2060504@turmel.org \
--to=philip@turmel.org \
--cc=linux-raid@vger.kernel.org \
--cc=stan@hardwarefreak.com \
--cc=tomas@slax.org \
/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).