Hi Roger,
> This may be an unusual question, but I thought it was worth asking.
Not unusual :)
> It is possible to set up a raid system with one of the disks
> 'missing'. In such a 'degraded RAID' system, no actual raid will be
> done. Or at least as long as the second disk is 'missing'.
Yes that is how kiwi creates dm_raid capable images. As you have
only one image representing one disk you can only create degraded
raid arrays and attach/grow the array after deployment. This
works nicely
> Does this make sense? I looked through the kiwi docs and didn't
> recognize this kind of thing. But maybe I didn't look in the correct
> place. Any pointers/suggestions are welcome!
https://osinside.github.io/kiwi/image_description/elements.html
search for "degraded"
Also checkout the integration test build
https://build.opensuse.org/package/show/Virtualization:Appliances:Images:Testing_x86:tumbleweed/test-image-raid
That gives you a chance to test it in e.g. qemu with an additional
attached disk and then just add it to the array via mdadm
Cheers,
Marcus
--
Public Key available via:
https://keybase.io/marcus_schaefer/key.asc
keybase search marcus_schaefer
-------------------------------------------------------
Marcus Schäfer Brunnenweg 18
Tel:
+49 7562 905437 D-88260 Argenbühl
Germany
-------------------------------------------------------