From: Phil Turmel <philip@turmel.org>
To: Karel Walters <karel.walters@gmail.com>
Cc: linux-raid <linux-raid@vger.kernel.org>
Subject: Re: [Recovery] RAID10 hdd failureS help requested
Date: Tue, 24 Sep 2013 15:05:57 -0400 [thread overview]
Message-ID: <5241E295.6040105@turmel.org> (raw)
In-Reply-To: <CAB4fJqeoK-o+xvAc0vnp=ika6=vTV0d6wrJhjwg43c0f7O+K_g@mail.gmail.com>
On 09/24/2013 02:18 PM, Karel Walters wrote:
> Hi Phil,
>
> Thank you for all the great help so far!
>
>> Yes, that dmesg did the trick. The drive that failed first was #3, and
>> the drive the failed second was #4. You should create a list of which
>> drive serial number corresponds to which raid device role, with a third
>> column showing the current device name.
>
> Serial no: old name ID current name
> WD-WCC1T1255024 /dev/sdc1 new drive
> W1F09XLV /dev/sdb1 [3] /dev/sdd1 failed drive 1
> W1F0AXTQ /dev/sdc1 [4] /dev/sde1 failed drive 2
> W1F0B6X6 /dev/sdd1 [0] /dev/sdf1
> S1F04BZT /dev/sde1 [5] /dev/sdg1
> W1F0B9ER /dev/sdf1 [2] /dev/sdh1
> WD-WMC1T2341606 /dev/sdg1 [1] /dev/sdi1
> S1F04CWH /dev/sdh1 [6] /dev/sdj1 (partially rebuild spare)
Ok, so your create operation will be:
mdadm --create /dev/md1 --level=10 -n 6 --layout=f2 --chunk=64
--data-offset=variable /dev/sdd1:2048 /dev/sdg1:4096 /dev/sdf1:2048
/dev/sdb1:2048 /dev/sdc1:2048 /dev/sde1:2048
I'm actually guessing that /dev/sdb1 and /dev/sdc1 need offset 2048 like
the original devices, not the 4096 of a device added later (newer
mdadm). With the mixed offsets, you need mdadm version 3.3.
Use "fsck -n" to verify the array before mounting anything, just in case
one or both of those drives really does need :4096.
>> Then, to deal with the large number of pending events, you'll need to do
>> a "check" scrub with a very low speed limit. To keep you from exceeding
>> the 10/hour read error limit in the MD kernel driver.
>
> echo 1000 > /proc/sys/dev/raid/speed_limit_min
> echo 10000 > /proc/sys/dev/raid/speed_limit_max
> echo check > /sys/block/md0/md/sync_action
>
> Would this be ok in such a case?
Looks ok. You may want to experiment in progress.
Phil
next prev parent reply other threads:[~2013-09-24 19:05 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-24 13:12 [Recovery] RAID10 hdd failureS help requested Karel Walters
2013-09-24 14:23 ` Phil Turmel
[not found] ` <CAB4fJqezb0sWcUUgRPd4BXoWr3hNBp725gv8xnMOPmcqU8RiRw@mail.gmail.com>
2013-09-24 15:50 ` Phil Turmel
[not found] ` <CAB4fJqerQy7PJzK4+WSNAh7YCcHmwoAqB5vMrXeSYqzWawAS+A@mail.gmail.com>
2013-09-24 17:09 ` Phil Turmel
2013-09-24 18:18 ` Karel Walters
2013-09-24 19:05 ` Phil Turmel [this message]
2013-09-24 19:14 ` Karel Walters
2013-09-24 21:19 ` Phil Turmel
2013-09-25 12:55 ` Karel Walters
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=5241E295.6040105@turmel.org \
--to=philip@turmel.org \
--cc=karel.walters@gmail.com \
--cc=linux-raid@vger.kernel.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 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.