[Libguestfs] mdadm / Ubuntu 10.04 error

Matthew Booth mbooth at redhat.com
Fri Nov 25 10:28:20 UTC 2011


On 11/24/2011 07:27 PM, Richard W.M. Jones wrote:
>
> md_create: mdadm: boot: mdadm: boot is not a block device. at /home/rjones/d/libguestfs/images/guest-aux/make-fedora-img.pl line 95.
>
> Looking into this, it appears the old version of mdadm shipped in
> Ubuntu (mdadm 2.6.7) doesn't support the notion of giving arbitrary
> names to devices.  Thus you have to do:
>
>    mdadm --create /dev/md0 [devices]
>
> We do:
>
>    mdadm --create boot [devices]
>
> which it doesn't know how to handle.
>
> I wonder if we are assuming so many features of mdadm>= 3 that we
> should simply test for this in the optional group "mdadm" test, and
> disable if mdadm<  3.  (We would also have to change the test so it is
> skipped if mdadm is not present, but that's a real bug in the test
> suite anyway).  Alternately we could look into this more deeply for
> RHEL 5 / Ubuntu 10.04.

My preference would be to remove the api before it becomes stable. We 
could be at this for weeks.

Matt
-- 
Matthew Booth, RHCA, RHCSS
Red Hat Engineering, Virtualisation Team

GPG ID:  D33C3490
GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490




More information about the Libguestfs mailing list