From: NeilBrown <neilb@suse.de>
To: Albert Pauw <albert.pauw@gmail.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: mdadm ddf questions
Date: Thu, 3 Mar 2011 09:31:36 +1100 [thread overview]
Message-ID: <20110303093136.586df7e7@notabene.brown> (raw)
In-Reply-To: <4D67ECA2.2020201@gmail.com>
On Fri, 25 Feb 2011 18:53:38 +0100 Albert Pauw <albert.pauw@gmail.com> wrote:
> Hi Neil,
>
> I investigated a bit further, and here are my findings:
>
> Looking at /proc/mdstat I see the following:
>
> - When I create a ddf containter with a name (say /dev/md0), I stop it
> and start it again, the name has always changed to /dev/md127,
> don't know if this is intentional.
It is intentional. Numbers aren't really meaningful for ddf containers.
mdadm should also create /dev/md/ddf0 as well which points to md127 and I
consider 'ddf0' to be the 'official' name. I hope to make the 'md127'
disappear eventually.
> - After creating the containter, all disks are marked as spare,
> designated with the (S) ending. However, when I put a disk in an array, it
> still stays marked as (S) in the containter entry in /proc/mdstat. I
> think those disks should be branded (S) anymore.
Yes, the (S) in the container is a bit misleading. It simply means that the
device isn't active in 'this' array - which is true because the container
isn't really an active array.
I've made a note to tidy this up at some stage.
> I also noticed that a RAID5 array created in a containter cannot be
> expanded with another disk (option -G) as it can in normal setup (i.e.
> without using the container).
> The same hold for a RAID1 where you cannot add a third disk.
Yes.. ddf support is really still quite preliminary. While reshaping arrays
should be possible it requires quite a bit of coding in mdadm which it is
hard to get motivated about .....
>
> I hope this gives you more clues about a possible fix?
Yes, very helpful.
I hope to fix the bugs in a week or so. The missing features will take
longer.
Thanks,
NeilBrown
next prev parent reply other threads:[~2011-03-02 22:31 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-19 11:13 mdadm ddf questions Albert Pauw
2011-02-22 7:41 ` Albert Pauw
2011-02-23 6:17 ` NeilBrown
2011-02-25 17:53 ` Albert Pauw
2011-03-02 22:31 ` NeilBrown [this message]
2011-03-10 8:34 ` More ddf container woes Albert Pauw
2011-03-11 11:50 ` Albert Pauw
2011-03-14 8:02 ` NeilBrown
2011-03-14 9:00 ` Albert Pauw
2011-03-15 4:43 ` NeilBrown
2011-03-15 19:07 ` Albert Pauw
2011-03-02 22:26 ` mdadm ddf questions NeilBrown
2011-03-02 22:11 ` NeilBrown
2011-03-04 7:52 ` Albert Pauw
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=20110303093136.586df7e7@notabene.brown \
--to=neilb@suse.de \
--cc=albert.pauw@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.