linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ian Pilcher <arequipeno@gmail.com>
To: linux-raid@vger.kernel.org
Subject: Creating volume in IMSM container
Date: Tue, 07 Apr 2015 10:29:02 -0500	[thread overview]
Message-ID: <mg0t3u$ol$1@ger.gmane.org> (raw)

I am trying to create an IMSM container and volume in a KVM virtual
machine (so that I can create a reproducer for a Fedora problem that
seems to only/mostly affect IMSM RAID).  I've  managed to create a
container with the following command:

   IMSM_NO_PLATFORM=1 mdadm --create --verbose /dev/md/imsm \
       /dev/vd{a,b} --raid-devices 2 --metadata=imsm

/proc/mdstat now contains:

   Personalities: [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] ...
   md127 : inactive vdb[1](S) vda[0](S)
         2210 blocks super external:imsm

I haven't, however, been able to create a volume within the container:

   # IMSM_NO_PLATFORM=1 mdadm --create --verbose /dev/md/vol0 \
        /dev/md/imsm --raid-devices 2 --level 1 --metadata=imsm
   mdmon: not enough devices with space to create array.

   # IMSM_NO_PLATFORM=1 mdadm --create --verbose /dev/md/vol0 \
        /dev/vd{a,b} --raid-devices 2 --level 1 --metadata=imsm
   mdadm: /dev/vda appears to be part of a raid array:
          level=container devices=0 ctime=Thu Jan  1 00:00:00 1970
   mdmon: /dev/vdb is not in the same imsm set
   mdadm: /dev/vdb is not suitable for this array.
   mdadm: create aborted

Am I doing something wrong, or is this simply not possible?

-- 
========================================================================
Ian Pilcher                                         arequipeno@gmail.com
-------- "I grew up before Mark Zuckerberg invented friendship" --------
========================================================================


             reply	other threads:[~2015-04-07 15:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-07 15:29 Ian Pilcher [this message]
2015-04-07 21:28 ` Creating volume in IMSM container NeilBrown

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='mg0t3u$ol$1@ger.gmane.org' \
    --to=arequipeno@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 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).