From: Chris Finley <debenbain@gmail.com>
To: Phil Turmel <philip@turmel.org>
Cc: linux-raid@vger.kernel.org
Subject: Re: Wiki-recovering failed raid, overlay problem
Date: Mon, 3 Jun 2013 16:35:14 -0700 [thread overview]
Message-ID: <CAGXrYFSiYMDpeTESv_-aA7QsbV0gYnr1seUHWZuS1bWwABk5Pg@mail.gmail.com> (raw)
In-Reply-To: <51AB4E5C.5060909@turmel.org>
On Sun, Jun 2, 2013 at 6:53 AM, Phil Turmel <philip@turmel.org> wrote:
[trim /]
>
> There are numerous discussions in the archives... search them for
> combinations of "scterc", "tler", and "ure".
>
It appears this has been a frequent issue over the last year. Thank
you for the background information, I understand what I was reading.
>
> So your device role order is /dev/sd{c,b,d,e}1.
[trim /]
> Anyways, the quickest way for you to have a running array is to use
> "mdadm --assemble --force /dev/md0 /dev/sd{c,b,e}1". This leaves out
> the first dropped disk. Any remaining UREs cannot be corrected while
> degraded, but the data on the first dropped disk is suspect.
>
> Feel free to use an overlay on /dev/md0 itself while making your first
> attempt to mount and access the data. If you cannot get critical data,
> stop and re-assemble with all four devices.
>
> Phil
>
Thanks, I will do that.
I am correct in thinking that I should not set scterc to 7 seconds
initially, since there will not be any parity to correct the read
errors? Best would be to set the driver time-out to 180 seconds until
after the array is rebuilt?
I am concerned about read errors during the rebuild. With a failed and
rebuilding array, will the get drive kicked on an URE? Is it better to
use something like badblocks or dd_rescue to correct/mark the sectors
first and then rebuild? Either way, I'm going to lose that data, but
maybe there are some better tools for extracting data from a bad
sector?
After the rebuild is complete, I should set the scterc to 7 seconds
and add a bitmap based write-intent log?
Does anyone learn these things the easy way :)
Much appreciated, Chris
next prev parent reply other threads:[~2013-06-03 23:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-01 6:23 Wiki-recovering failed raid, overlay problem Chris Finley
2013-06-01 23:30 ` Phil Turmel
2013-06-02 0:40 ` Chris Finley
2013-06-02 1:32 ` Phil Turmel
2013-06-02 4:25 ` Phil Turmel
2013-06-02 5:07 ` Chris Finley
2013-06-02 13:53 ` Phil Turmel
2013-06-03 23:35 ` Chris Finley [this message]
2013-06-04 0:00 ` Phil Turmel
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=CAGXrYFSiYMDpeTESv_-aA7QsbV0gYnr1seUHWZuS1bWwABk5Pg@mail.gmail.com \
--to=debenbain@gmail.com \
--cc=linux-raid@vger.kernel.org \
--cc=philip@turmel.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).