From: Petter Reinholdtsen <pere@hungry.com>
To: linux-raid@vger.kernel.org
Subject: Re: Help with recovering resized raid where machine crashed while PENDING
Date: Tue, 5 Jul 2011 18:24:33 +0200 [thread overview]
Message-ID: <20110705162433.GB18875@login1.uio.no> (raw)
In-Reply-To: <20110705104923.4779e295@notabene.brown>
[Neil Brown]
> I probably wouldn't have helped. It is supposed to write backup
> stuff to the spares and if it didn't do that, it probably wouldn't
> have written it to a file either.
Right. Is this a bug or the way it is supposed to work?
> The easiest fix for now is to recreate the array.
>
> mdadm -CR /dev/md3 --metadata=0.90 -n3 -l5 -c64 /dev/sdb2 /dev/sdc2
> /dev/sdf2 --assume-clean
>
> should do it.
Thank you. How did you determine which devices to use and which order
to list them in? I've since rebooted and want to make sure I do not
pick the wrong devices.
> Then if that looks good, add the extra devices and grow the array
> again.
Will try when md2 is done growing tomorrow. :)
Happy hacking,
--
Petter Reinholdtsen
next prev parent reply other threads:[~2011-07-05 16:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-02 8:54 Help with recovering resized raid where machine crashed while PENDING Petter Reinholdtsen
2011-07-04 14:21 ` Petter Reinholdtsen
2011-07-05 0:49 ` NeilBrown
2011-07-05 16:24 ` Petter Reinholdtsen [this message]
2011-07-05 23:39 ` NeilBrown
2011-07-06 20:41 ` Petter Reinholdtsen
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=20110705162433.GB18875@login1.uio.no \
--to=pere@hungry.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;
as well as URLs for NNTP newsgroup(s).