* Creating volume in IMSM container
@ 2015-04-07 15:29 Ian Pilcher
2015-04-07 21:28 ` NeilBrown
0 siblings, 1 reply; 2+ messages in thread
From: Ian Pilcher @ 2015-04-07 15:29 UTC (permalink / raw)
To: linux-raid
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" --------
========================================================================
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Creating volume in IMSM container
2015-04-07 15:29 Creating volume in IMSM container Ian Pilcher
@ 2015-04-07 21:28 ` NeilBrown
0 siblings, 0 replies; 2+ messages in thread
From: NeilBrown @ 2015-04-07 21:28 UTC (permalink / raw)
To: Ian Pilcher; +Cc: linux-raid
[-- Attachment #1: Type: text/plain, Size: 1659 bytes --]
On Tue, 07 Apr 2015 10:29:02 -0500 Ian Pilcher <arequipeno@gmail.com> wrote:
> 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
2210 blocks is tiny.
I think each device needs at least 6306 sectors for IMSM.
I suggest going for at least 20,000.
>
> 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.
This should work once you have devices with enough space.
>
> # 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
>
This looks like a bug. What version of mdadm.
NeilBrown
> Am I doing something wrong, or is this simply not possible?
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 811 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-04-07 21:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-07 15:29 Creating volume in IMSM container Ian Pilcher
2015-04-07 21:28 ` NeilBrown
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.