From: Neil Brown <neilb@suse.de>
To: Federico <undicizeri@gmail.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: mdadm raid1 stops to work after kernel panic
Date: Tue, 6 May 2008 12:50:01 +1000 [thread overview]
Message-ID: <18463.51033.969459.795526@notabene.brown> (raw)
In-Reply-To: message from Federico on Monday May 5
On Monday May 5, undicizeri@gmail.com wrote:
> > What happens if you:
> > mdadm -S /dev/md2
> > mdadm -A /dev/md2 /dev/sda1 /dev/sdc1
>
> root@persifae:~#mdadm -S /dev/md2
> mdadm: stopped /dev/md2
> root@persifae:~#mdadm -A /dev/md2 /dev/sda1 /dev/sdc1
> mdadm: failed to add /dev/sdc1 to /dev/md2: Invalid argument
> mdadm: /dev/md2 assembled from 0 drives - not enough to start the array.
Ahhh... They have a different "preferred minor". Presumably when you
tried to boot with the wrong grub parameters it tried to assemble the
array as /dev/md0 instead of /dev/md2.
You can fix with:
mdadm -A /dev/md2 /dev/sdc1
mdadm /dev/md2 -a /dev/sda1
NeilBrown
next prev parent reply other threads:[~2008-05-06 2:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-05 6:47 mdadm raid1 stops to work after kernel panic Federico
2008-05-05 9:32 ` NeilBrown
[not found] ` <26c008d70805050256q65972fa7jb86c6d5254828fc1@mail.gmail.com>
2008-05-05 11:41 ` NeilBrown
2008-05-05 12:09 ` Federico
2008-05-06 2:50 ` Neil Brown [this message]
2008-05-06 5:46 ` Federico
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=18463.51033.969459.795526@notabene.brown \
--to=neilb@suse.de \
--cc=linux-raid@vger.kernel.org \
--cc=undicizeri@gmail.com \
/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