From: John Robinson <john.robinson@anonymous.org.uk>
To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Linux RAID <linux-raid@vger.kernel.org>
Subject: Re: Partitions not recognized when auto-assembling array in initramfs
Date: Tue, 28 Dec 2010 04:35:41 +0000 [thread overview]
Message-ID: <4D19691D.5010707@anonymous.org.uk> (raw)
In-Reply-To: <201012271618.09209.laurent.pinchart@ideasonboard.com>
On 27/12/2010 15:18, Laurent Pinchart wrote:
[...]
> livecd ~ # mdadm --assemble --scan
> mdadm: Container /dev/md/imsm0 has been assembled with 2 drives
> mdadm: Started /dev/md/vol0_0 with 2 devices
[...]
> livecd ~ # mdadm -E --scan
> ARRAY metadata=imsm UUID=480da1d0:8150f280:7dd8425d:bec99c46
> ARRAY /dev/md/vol0 container=480da1d0:8150f280:7dd8425d:bec99c46 member=0
> UUID=17e28225:34f7c425:eb78aece:05c29a40
>
> livecd ~ # mdadm --assemble --scan
> mdadm: Container /dev/md/imsm0 has been assembled with 2 drives
> mdadm: Started /dev/md/vol0 with 2 devices
[...]
> Still good so far. The /dev/md/vol0_0 device is now called /dev/md/vol0.
[...]
> If I remove the /etc/mdadm.conf file from the initramfs image, the volume is
> detected as vol0_0 instead of vol0 and the partitions are correctly detected.
>
> I don't understand what's going on there, and how I could fix it. Help would
> be greatly appreciated.
I don't quite get it either, but there's something funny going on with
the device name. I don't know if you've a choice in the name or what,
but do things run any more smoothly if you edit the mdadm.conf to have
ARRAY /dev/md/vol0_0 container= etc? If so, and you don't like the _0,
you may be able to rename the array with --update=name when assembling
it. Disclaimer: I don't know much about imsm so I don't really know
about the device names and whether they can be selected or renamed.
Cheers,
John.
prev parent reply other threads:[~2010-12-28 4:35 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-27 15:18 Partitions not recognized when auto-assembling array in initramfs Laurent Pinchart
2010-12-27 20:29 ` Neil Brown
2010-12-27 20:35 ` Laurent Pinchart
2010-12-27 21:04 ` Neil Brown
2010-12-27 21:35 ` Laurent Pinchart
2010-12-28 6:05 ` Neil Brown
2010-12-28 11:50 ` Laurent Pinchart
2010-12-28 19:00 ` Wolfgang Denk
2010-12-27 20:47 ` Laurent Pinchart
2010-12-28 4:35 ` John Robinson [this message]
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=4D19691D.5010707@anonymous.org.uk \
--to=john.robinson@anonymous.org.uk \
--cc=laurent.pinchart@ideasonboard.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).