From: Moshe Yudkowsky <moshe@pobox.com>
To: linux-raid@vger.kernel.org
Subject: Documentation? failure to update-initramfs causes Infinite md loop on boot
Date: Wed, 30 Jan 2008 16:32:46 -0600 [thread overview]
Message-ID: <47A0FB0E.5020202@pobox.com> (raw)
I reformatted the disks in preparation to my move to a RAID1/RAID5
combination. I couldn't --stop the array (that should have told me
something), so I removed ARRAY from mdadm.conf and restarted. I ran
fdisk to create the proper partitions, and then I removed the /dev/md*
and /dev/md/* entries in anticipation of creating the new ones. I then
rebooted to pick up the new partitions I'd created.
Now I can no longer boot, with this series of messages:
md: md_import_device returned: -22
md: mdadm failed to add /dev/sdb2 to /dev/md/all: invalid argument
mdadm: failed to RUN_ARRAY /dev/md/all: invalid argument
md: sdc2 has invalid sb, not importing!
Thousands of these go past, and there's no escape. That's quite a severe
error. I'm going to boot on a rescue disk to fix this -- there's no
other way I can think of to get out of this mess -- but I wonder if
there ought to be documentation on the interaction between mdadm and
update-initramfs.
--
Moshe Yudkowsky * moshe@pobox.com * www.pobox.com/~moshe
"Becoming the biggest banana republic in the world -- and without the
bananas, at that -- is an unenviable prospect."
-- Sergei Stepashin, Prime Minister of Russia
next reply other threads:[~2008-01-30 22:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-30 22:32 Moshe Yudkowsky [this message]
2008-01-30 22:42 ` Documentation? failure to update-initramfs causes Infinite md loop on boot maximilian attems
2008-01-31 0:44 ` Moshe Yudkowsky
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=47A0FB0E.5020202@pobox.com \
--to=moshe@pobox.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).