From: Neil Brown <neilb@suse.de>
To: Dan Williams <dan.j.williams@intel.com>
Cc: Jon Nelson <jnelson-linux-raid@jamponi.net>,
LinuxRaid <linux-raid@vger.kernel.org>
Subject: Re: mdadm 3.0.3 bug report
Date: Mon, 16 Nov 2009 13:39:52 +1100 [thread overview]
Message-ID: <19200.47992.724204.514237@notabene.brown> (raw)
In-Reply-To: message from Dan Williams on Monday November 9
On Monday November 9, dan.j.williams@intel.com wrote:
> On Mon, Nov 9, 2009 at 8:43 AM, Jon Nelson
> <jnelson-linux-raid@jamponi.net> wrote:
> > I tried to create a raid thusly:
> > mdadm --create /dev/md3 --level=10 --layout=f2 --metadata=ddf
> > --raid-devices=2 --assume-clean /dev/sdc1 missing
> > and while I got a non-zero exit code (1), I did not get an error
> > message or any other indication of failure.
> >
> > The misfeature is that I expected some sort of message.
Thanks for the report. mdadm-3.1.1 will be more verbose.
In that particular case:
mdadm: DDF does not support level 10 arrays
If you try the same with --level=5
mdadm: ddf: Cannot create this array on device /dev/sdc1 - a container is required.
>
> Yes, there should be a message that points out that the external
> metadata formats ('ddf' and 'imsm') require a container to be created
> first and then raid volumes are carved out of that container. The
> mdmon man page has a little blurb on containers. The 'missing' option
> is currently not supported for creating containers so you would need
> to modify this to something like:
I really should do something about supporting the 'missing' option,
and in general being able to specify which devices in the container
should be used....
>
> mdadm --create /dev/md/ddf -e ddf /dev/sdc /dev/sdX -n 2
> mdadm --create /dev/md/volume0 /dev/md/ddf --level=10 --layout=f2
Except that ddf doesn't know "RAID10", it knows "RAID1E" with layouts
of "ADJACENT" (like n2) or OFFSET (like o20).
But mdadm/ddf doesn't handle RAID1E yet - I guess it should.
NeilBrown
prev parent reply other threads:[~2009-11-16 2:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-09 15:43 mdadm 3.0.3 bug report Jon Nelson
2009-11-10 0:24 ` Michael Evans
2009-11-10 0:30 ` Jon Nelson
2009-11-10 0:47 ` Dan Williams
2009-11-16 2:39 ` Neil Brown [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=19200.47992.724204.514237@notabene.brown \
--to=neilb@suse.de \
--cc=dan.j.williams@intel.com \
--cc=jnelson-linux-raid@jamponi.net \
--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).