From: NeilBrown <neilb@suse.de>
To: Bryan Bush <bbushvt@gmail.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: RAID6 grow failed
Date: Wed, 28 Mar 2012 15:18:28 +1100 [thread overview]
Message-ID: <20120328151828.6988d3db@notabene.brown> (raw)
In-Reply-To: <CAJ72viP2MLb2tL84P-aK6Rs9eAH4x9Wwd=kVNbmPA=2LAfNLjg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1489 bytes --]
On Tue, 27 Mar 2012 22:44:18 -0400 Bryan Bush <bbushvt@gmail.com> wrote:
> I hope this is the right place to ask this question. I have at 8
> drive RAID 6 array that I wanted to grow to 13 drives (adding 5 more).
> I issued the mdadm command and checked /proc/mdstat and all looked
> well. However at some point in time a disk failed and that hung my
> system. Upon reboot the array is inactive and I can't get it to
> reassemble.
>
> /proc/mdstat shows this
>
> md1 : inactive sdp1[11](S) sdi1[3](S) sdd1[7](S) sdr1[13](S)
> sdg1[1](S) sdc1[6](S) sdq1[12](S) sdn1[9](S) sdo1[10](S) sdh1[2](S)
> sda1[4](S) sdf1[0](S) sdb1[8](S)
> 25395674609 blocks super 1.2
>
>
> If I look at mdadm -E /dev/sdX1 I see most are State active, while
> some are State clean.
>
>
> root@diamond:~# mdadm -E /dev/sd[abcdfghinopqr]1
> mdadm: metadata format 01.02 unknown, ignored.
> mdadm: metadata format 00.90 unknown, ignored.
Hmmm... what do you have in /etc/mdadm.conf??
>
> Is there anything I can do to get the array back up?
stg1 is the device that failed. so
mdadm -S /dev/md1
mdadm -A -f /dev/md1 /dev/sd[abcdefhinopqr]1
should start the array.
Though if the names have changed at all it would be safer to do
mdadm -Asf /dev/md1 -u fa32e2c5:e7bda20b:32af7c90:c7ee61eb
then mdadm will find the right devices and use them.
When reshape finishes you will need to add sdg1 or a replacement and let it
recover.
NeilBrown
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
next prev parent reply other threads:[~2012-03-28 4:18 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-28 2:44 RAID6 grow failed Bryan Bush
2012-03-28 3:22 ` Mathias Burén
2012-03-28 4:18 ` NeilBrown [this message]
2012-03-28 7:54 ` Bryan Bush
2012-03-28 8:26 ` NeilBrown
2012-03-28 10:35 ` Bryan Bush
2012-03-31 19:38 ` Bryan Bush
2012-03-31 22:00 ` NeilBrown
2012-03-31 23:24 ` Bryan Bush
2012-04-01 7:05 ` Bryan Bush
2012-04-01 23:54 ` NeilBrown
2012-04-02 0:02 ` Bryan Bush
2012-04-02 0:26 ` NeilBrown
2012-04-02 0:44 ` Bryan Bush
2012-04-02 2:12 ` NeilBrown
2012-04-02 2:59 ` Bryan Bush
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=20120328151828.6988d3db@notabene.brown \
--to=neilb@suse.de \
--cc=bbushvt@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox