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: Mon, 4 Jul 2011 16:21:27 +0200 [thread overview]
Message-ID: <20110704142127.GU21845@login1.uio.no> (raw)
In-Reply-To: <2flfwmpdpw2.fsf@login1.uio.no>
[Petter Reinholdtsen]
> Any ideas how I can recover my raid? After reading
> <URL: https://raid.wiki.kernel.org/index.php/RAID_Recovery >, I
> suspect creating it again is the solution, but am unsure if I should
> recreate it with 3 or 5 partitions. Trying to assembly result in this:
>
> meta:~# mdadm --assemble /dev/md3 /dev/sdd2 /dev/sde2 /dev/sdh2 /dev/sda2 /dev/sdb2
> mdadm: Failed to restore critical section for reshape, sorry.
> Possibly you needed to specify the --backup-file
> meta:~#
>
> How can I know which disks to use when recreating if I want to
> recreate using only three disks? Is it the three with the active
> state?
This is still a problem. I got some help from JyZyXEL on #linux-raid,
and managed to get md2 to continue its reshaping with mdadm
--readwrite /dev/md2, but the raid that was pending its reshaping is
still failing to assemble with the above message.
Is this the only approach to recover?
mdadm --create --assume-clean --level=5 --raid-devices=5 /dev/md3 /dev/sd?2
Should I use --raid-devices=3 or --raid-devices=5, and if I should use
--raid-devices=3, how do I figure which devices to use?
Happy hacking,
--
Petter Reinholdtsen
next prev parent reply other threads:[~2011-07-04 14:21 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 [this message]
2011-07-05 0:49 ` NeilBrown
2011-07-05 16:24 ` Petter Reinholdtsen
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=20110704142127.GU21845@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).