GNU bug report logs - #38086
RAID installation script with ‘mdadm’ no longer works

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Severity: important; Reported by: Ludovic Courtès <ludo@HIDDEN>; dated Wed, 6 Nov 2019 10:14:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 38086 <at> debbugs.gnu.org:


Received: (at 38086) by debbugs.gnu.org; 18 Jan 2020 13:30:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 18 08:30:26 2020
Received: from localhost ([127.0.0.1]:40652 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1isoBB-0006vt-Sy
	for submit <at> debbugs.gnu.org; Sat, 18 Jan 2020 08:30:26 -0500
Received: from mail-ed1-f45.google.com ([209.85.208.45]:42498)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <boskovits@HIDDEN>) id 1isoB4-0006vT-WC
 for 38086 <at> debbugs.gnu.org; Sat, 18 Jan 2020 08:30:21 -0500
Received: by mail-ed1-f45.google.com with SMTP id e10so25010523edv.9
 for <38086 <at> debbugs.gnu.org>; Sat, 18 Jan 2020 05:30:14 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=MWAVprxwpqCyXv/9Hoz3lg+gCVytzLdaWQyE0puVhgk=;
 b=OZFsvKJ2bj65AALTRLLyzj5iI9E7u6R88pRnH7cHvaPNUlv90zTDQKbTfJo6wZg1DR
 d5W2lMp2iZ6en92tqUwZTTbp1rymOBfKs5EvJ3tQBJORUoUZI1UNzw8riaSuy7aTqmCo
 GpmTMgG30ZW6jeIpSukGE6VT01S+5bIoqm7ip9HuOMDB9n+OyPNJMKGWQuCO6txNtscB
 TA6eLXa3RAh13zKe1Zku6MluW7YgJs0AR6MVF1V4Nz6mNadYC/Auv94YO8MskVSm5NPK
 mOPwpiyYnZdVVkeyDkzIzdvUYUYxJgz1RQ+pZa+Wsq6Pch/LRIt3CFLu+ColApU1mkbg
 XGCw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=MWAVprxwpqCyXv/9Hoz3lg+gCVytzLdaWQyE0puVhgk=;
 b=HaoNcjZFtmHjNDPDC1P4ETSPrc2vMWf3Eib08nlaLefZv89Es+jq/XEg/3/WBuijGb
 0ZuYoq6RGNELP0u3Q3QGf0V2Z9VY/L9lbIPJy9u/z9oWRDWCuzo8Aym5mwLDXIpTcE7m
 QjP7yWOUs4snIW/QSkGNCvx9S5cm06tHLN0OzFwzP7y9Hqo0OiKVPnRu2Sm3zCPk8hav
 vsy45XDDVUOYQ+uGJeBMDVYrrkQm4pOtisXG6iJO/VncivxRbiaj0fcBbBvRJP4pFqND
 Y4abr7GCKAdCZooNbCFWms/2olkQqEqrcfCnUTrEuyAEipCmhNPHf7PlN0OYwhgaFqRD
 II5Q==
X-Gm-Message-State: APjAAAXZvgdCKSTZMkl28wC5E6sruLnBuN9b7lh0SF/+/aqf0xBGDgqv
 JdZwOLEtAs0DltYAJw31hzgikzjBQtvZrvfuzA==
X-Google-Smtp-Source: APXvYqznQFEybXxyKiignR6LKx9B8DH3WpGlr7fRXP4k8+e5RxKsLOR4pT5I8GDM4l35mF702OGNR0tPVc8trxph6ug=
X-Received: by 2002:a17:906:1314:: with SMTP id
 w20mr3907859ejb.331.1579354209078; 
 Sat, 18 Jan 2020 05:30:09 -0800 (PST)
MIME-Version: 1.0
References: <87sgn18g92.fsf@HIDDEN>
 <CAE4v=pizjYjTMAYCXFYmacK7wiFZ5DzqZ86ArHn0LNfr2Di8Tw@HIDDEN>
 <877e46m1qd.fsf@HIDDEN> <87r1zx902a.fsf@yucca>
In-Reply-To: <87r1zx902a.fsf@yucca>
From: =?UTF-8?Q?G=C3=A1bor_Boskovits?= <boskovits@HIDDEN>
Date: Sat, 18 Jan 2020 14:29:56 +0100
Message-ID: <CAE4v=piMdWV6-aG7CDULJwjjkj=tbBvEjaOF4k8Gm6vaznh-fw@HIDDEN>
Subject: =?UTF-8?Q?Re=3A_bug=2338086=3A_RAID_installation_script_with_=E2=80=98mdad?=
 =?UTF-8?Q?m=E2=80=99_no_longer_works?=
To: Vagrant Cascadian <vagrant@HIDDEN>
Content-Type: multipart/alternative; boundary="0000000000009b560b059c6a0efb"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 38086
Cc: =?UTF-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>, 38086 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--0000000000009b560b059c6a0efb
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Vagrant Cascadian <vagrant@HIDDEN> ezt =C3=ADrta (id=C5=91pont: 2020. j=
an. 17.,
P=C3=A9n 23:42):

> On 2019-11-12, Ludovic Court=C3=A8s wrote:
> > G=C3=A1bor Boskovits <boskovits@HIDDEN> skribis:
> >
> >>> + mdadm --create /dev/md0 --verbose --level=3Dstripe --raid-devices=
=3D2
> >>> /dev/vdb2 /dev/vdb3
> >>> mdadm: chunk size defaults to 512K
> >>> mdadm: Defaulting to version 1.2 metadata
> >>> [   13.890586] md/raid0:md0: cannot assemble multi-zone RAID0 with
> >>> default_layout setting
> >>> [   13.894691] md/raid0: please set raid0.default_layout to 1 or 2
> >>> [   13.896000] md: pers->run() failed ...
> >>> mdadm: RUN_ARRAY failed: Unknown error 524
> >>> [   13.901603] md: md0 stopped.
> >>> --8<---------------cut here---------------end--------------->8---
> >>>
> >>> Anyone knows what it takes to =E2=80=9Cset raid0.default_layout to 1 =
or 2=E2=80=9D?
> >>>
> >>
> >> On kernel 5.3.4 and above the
> >> raid0.default_layout=3D2 kernel boot paramter should be set. We should
> >> generate our grub configuration accordingly.
>
> So, this might be sort of a tangent, but I'm wondering why you're
> testing raid0 (striping, for performance+capacity at risk of data loss)
> instead of raid1 (mirroring, for redundancy, fast reads, slow writes,
> half capacity of storage), or another raid level with more disks (raid5,
> raid6, raid10). raid1 would be the simplest to switch the code to, since
> it uses only two disks.
>
>
> The issue triggering this bug might be a non-issue on other raid levels
> that in my mind might make more sense for rootfs. Or maybe people have
> use-casese for rootfs on raid0 that I'm too uncreative to think of? :)
>

I often see raid 10 as root. I believe it might make sense to test that
setup.

>
>
> live well,
>   vagrant
>

--0000000000009b560b059c6a0efb
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">Vagrant Cascadian &lt;<a href=3D"mailto:vagrant@debian=
.org">vagrant@HIDDEN</a>&gt; ezt =C3=ADrta (id=C5=91pont: 2020. jan. 17=
., P=C3=A9n 23:42):<br></div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 2019-11-12, =
Ludovic Court=C3=A8s wrote:<br>
&gt; G=C3=A1bor Boskovits &lt;<a href=3D"mailto:boskovits@HIDDEN" target=
=3D"_blank" rel=3D"noreferrer">boskovits@HIDDEN</a>&gt; skribis:<br>
&gt;<br>
&gt;&gt;&gt; + mdadm --create /dev/md0 --verbose --level=3Dstripe --raid-de=
vices=3D2<br>
&gt;&gt;&gt; /dev/vdb2 /dev/vdb3<br>
&gt;&gt;&gt; mdadm: chunk size defaults to 512K<br>
&gt;&gt;&gt; mdadm: Defaulting to version 1.2 metadata<br>
&gt;&gt;&gt; [=C2=A0 =C2=A013.890586] md/raid0:md0: cannot assemble multi-z=
one RAID0 with<br>
&gt;&gt;&gt; default_layout setting<br>
&gt;&gt;&gt; [=C2=A0 =C2=A013.894691] md/raid0: please set raid0.default_la=
yout to 1 or 2<br>
&gt;&gt;&gt; [=C2=A0 =C2=A013.896000] md: pers-&gt;run() failed ...<br>
&gt;&gt;&gt; mdadm: RUN_ARRAY failed: Unknown error 524<br>
&gt;&gt;&gt; [=C2=A0 =C2=A013.901603] md: md0 stopped.<br>
&gt;&gt;&gt; --8&lt;---------------cut here---------------end--------------=
-&gt;8---<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Anyone knows what it takes to =E2=80=9Cset raid0.default_layou=
t to 1 or 2=E2=80=9D?<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On kernel 5.3.4 and above the<br>
&gt;&gt; raid0.default_layout=3D2 kernel boot paramter should be set. We sh=
ould<br>
&gt;&gt; generate our grub configuration accordingly.<br>
<br>
So, this might be sort of a tangent, but I&#39;m wondering why you&#39;re<b=
r>
testing raid0 (striping, for performance+capacity at risk of data loss)<br>
instead of raid1 (mirroring, for redundancy, fast reads, slow writes,<br>
half capacity of storage), or another raid level with more disks (raid5,<br=
>
raid6, raid10). raid1 would be the simplest to switch the code to, since<br=
>
it uses only two disks.<br>
<br>
<br>
The issue triggering this bug might be a non-issue on other raid levels<br>
that in my mind might make more sense for rootfs. Or maybe people have<br>
use-casese for rootfs on raid0 that I&#39;m too uncreative to think of? :)<=
br></blockquote></div></div><div dir=3D"auto"><br></div><div dir=3D"auto">I=
 often see raid 10 as root. I believe it might make sense to test that setu=
p.</div><div dir=3D"auto"><div class=3D"gmail_quote"><blockquote class=3D"g=
mail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-l=
eft:1ex">
<br>
<br>
live well,<br>
=C2=A0 vagrant<br>
</blockquote></div></div></div>

--0000000000009b560b059c6a0efb--




Information forwarded to bug-guix@HIDDEN:
bug#38086; Package guix. Full text available.

Message received at 38086 <at> debbugs.gnu.org:


Received: (at 38086) by debbugs.gnu.org; 17 Jan 2020 22:43:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 17 17:43:04 2020
Received: from localhost ([127.0.0.1]:40266 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1isaKW-0002h1-DY
	for submit <at> debbugs.gnu.org; Fri, 17 Jan 2020 17:43:04 -0500
Received: from cascadia.aikidev.net ([173.255.214.101]:57388)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <vagrant@HIDDEN>) id 1isaKU-0002gV-LL
 for 38086 <at> debbugs.gnu.org; Fri, 17 Jan 2020 17:43:03 -0500
Received: from localhost (unknown [IPv6:2600:3c01:e000:21:21:21:0:100b])
 (Authenticated sender: vagrant@HIDDEN)
 by cascadia.aikidev.net (Postfix) with ESMTPSA id C6E171AA50;
 Fri, 17 Jan 2020 14:42:56 -0800 (PST)
From: Vagrant Cascadian <vagrant@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, =?utf-8?Q?G=C3=A1bor?=
 Boskovits <boskovits@HIDDEN>
Subject: Re: bug#38086: RAID installation script with =?utf-8?B?4oCYbWRh?=
 =?utf-8?B?ZG3igJk=?= no longer works
In-Reply-To: <877e46m1qd.fsf@HIDDEN>
References: <87sgn18g92.fsf@HIDDEN>
 <CAE4v=pizjYjTMAYCXFYmacK7wiFZ5DzqZ86ArHn0LNfr2Di8Tw@HIDDEN>
 <877e46m1qd.fsf@HIDDEN>
Date: Fri, 17 Jan 2020 14:42:53 -0800
Message-ID: <87r1zx902a.fsf@yucca>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 38086
Cc: 38086 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 2019-11-12, Ludovic Court=C3=A8s wrote:
> G=C3=A1bor Boskovits <boskovits@HIDDEN> skribis:
>
>>> + mdadm --create /dev/md0 --verbose --level=3Dstripe --raid-devices=3D2
>>> /dev/vdb2 /dev/vdb3
>>> mdadm: chunk size defaults to 512K
>>> mdadm: Defaulting to version 1.2 metadata
>>> [   13.890586] md/raid0:md0: cannot assemble multi-zone RAID0 with
>>> default_layout setting
>>> [   13.894691] md/raid0: please set raid0.default_layout to 1 or 2
>>> [   13.896000] md: pers->run() failed ...
>>> mdadm: RUN_ARRAY failed: Unknown error 524
>>> [   13.901603] md: md0 stopped.
>>> --8<---------------cut here---------------end--------------->8---
>>>
>>> Anyone knows what it takes to =E2=80=9Cset raid0.default_layout to 1 or=
 2=E2=80=9D?
>>>
>>
>> On kernel 5.3.4 and above the
>> raid0.default_layout=3D2 kernel boot paramter should be set. We should
>> generate our grub configuration accordingly.

So, this might be sort of a tangent, but I'm wondering why you're
testing raid0 (striping, for performance+capacity at risk of data loss)
instead of raid1 (mirroring, for redundancy, fast reads, slow writes,
half capacity of storage), or another raid level with more disks (raid5,
raid6, raid10). raid1 would be the simplest to switch the code to, since
it uses only two disks.


The issue triggering this bug might be a non-issue on other raid levels
that in my mind might make more sense for rootfs. Or maybe people have
use-casese for rootfs on raid0 that I'm too uncreative to think of? :)


live well,
  vagrant

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCXiI4bQAKCRDcUY/If5cW
qg6tAQDnN10yIpC58DKd2sEfmoNP7PAa65iyqNRVlZY6Kns59gD+NAGhQ31f2ohL
a0EAa2MrsGqlFocle4vjk1sW9T88IQA=
=bcKG
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#38086; Package guix. Full text available.

Message received at 38086 <at> debbugs.gnu.org:


Received: (at 38086) by debbugs.gnu.org; 22 Nov 2019 18:30:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 22 13:30:57 2019
Received: from localhost ([127.0.0.1]:55482 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iYDhn-00005H-FK
	for submit <at> debbugs.gnu.org; Fri, 22 Nov 2019 13:30:57 -0500
Received: from eggs.gnu.org ([209.51.188.92]:58887)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1iYDhk-000051-52
 for 38086 <at> debbugs.gnu.org; Fri, 22 Nov 2019 13:30:54 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:42960)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1iYDhe-00008s-Vq; Fri, 22 Nov 2019 13:30:47 -0500
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=59824 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1iYDhe-0000RR-75; Fri, 22 Nov 2019 13:30:46 -0500
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: =?utf-8?Q?G=C3=A1bor?= Boskovits <boskovits@HIDDEN>
Subject: Re: bug#38086: RAID installation script with =?utf-8?B?4oCYbWRh?=
 =?utf-8?B?ZG3igJk=?= no longer works
References: <87sgn18g92.fsf@HIDDEN>
 <CAE4v=pizjYjTMAYCXFYmacK7wiFZ5DzqZ86ArHn0LNfr2Di8Tw@HIDDEN>
 <877e46m1qd.fsf@HIDDEN>
Date: Fri, 22 Nov 2019 19:30:43 +0100
In-Reply-To: <877e46m1qd.fsf@HIDDEN> ("Ludovic
 \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\=
 \=\?utf-8\?Q\?s\?\= message of "Tue, 12 Nov 2019 00:28:58 +0100")
Message-ID: <87zhgn7oh8.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 38086
Cc: 38086 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

An update: this is the last known good test:

  https://berlin.guixsd.org/build/1793057/details

and this is the first known-bad (=E2=80=98mdadm=E2=80=99 failing with =E2=
=80=9Ccannot assemble
multi-zone RAID0 without default_layout setting=E2=80=9D):

  https://berlin.guixsd.org/build/1795351/details

We have to resort to an ungly hack to get the evaluation number and
corresponding commit of each build because they aren=E2=80=99t accessible o=
ver
HTTP (which is unfortunate!):

--8<---------------cut here---------------start------------->8---
sqlite> select * from builds where rowid =3D 1793057;
/gnu/store/618hm2w0clcrxz16yww846mgqdc1l4s0-raid-root-os.drv|7863|test.raid=
-root-os.i686-linux|i686-linux|raid-root-os||0|1570439988|1570459635|157045=
9744
sqlite> select * from checkouts where evaluation =3D 7863;
guix-master|7b6a8e23b0de18262a42e44432f955517d71d796|7863|guix|/gnu/store/7=
sd2lwj83n6kyn66p9bdgs5yvzqnl539-guix-7b6a8e2
sqlite> select * from builds where rowid =3D 1795351;
/gnu/store/qskl45gw9y9hd8qp7s5451d53pvpc60q-raid-root-os.drv|7867|test.raid=
-root-os.i686-linux|i686-linux|raid-root-os||2|1570440409|0|1570457622
sqlite> select * from checkouts where evaluation =3D 7867;
guix-master|7d82e920717f08bceb42bb570d786dff233171e1|7867|guix|/gnu/store/b=
2cq9zhdsz4qri2xkg3rgwmyri0wyxxb-guix-7d82e92
--8<---------------cut here---------------end--------------->8---

So the commit that introduced the change of behavior of =E2=80=98mdadm=E2=
=80=99 is:

--8<---------------cut here---------------start------------->8---
commit 7d82e920717f08bceb42bb570d786dff233171e1
Date:   Sun Oct 6 06:07:15 2019 +0000

    gnu: linux-libre: Update to 5.3.4.
--8<---------------cut here---------------end--------------->8---

And indeed that brings us back to:

  https://blog.icod.de/2019/10/10/caution-kernel-5-3-4-and-raid0-default_la=
yout/

Hmm alright, nothing new here.  Oh well!

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#38086; Package guix. Full text available.
Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 38086 <at> debbugs.gnu.org:


Received: (at 38086) by debbugs.gnu.org; 11 Nov 2019 23:29:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 11 18:29:08 2019
Received: from localhost ([127.0.0.1]:56112 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iUJ7M-0000Bh-DJ
	for submit <at> debbugs.gnu.org; Mon, 11 Nov 2019 18:29:08 -0500
Received: from eggs.gnu.org ([209.51.188.92]:37061)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1iUJ7K-0000BD-Dy
 for 38086 <at> debbugs.gnu.org; Mon, 11 Nov 2019 18:29:06 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:51941)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1iUJ7F-0008Ss-7T; Mon, 11 Nov 2019 18:29:01 -0500
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=43704 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1iUJ7E-0004PS-D4; Mon, 11 Nov 2019 18:29:00 -0500
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: =?utf-8?Q?G=C3=A1bor?= Boskovits <boskovits@HIDDEN>
Subject: Re: bug#38086: RAID installation script with =?utf-8?B?4oCYbWRh?=
 =?utf-8?B?ZG3igJk=?= no longer works
References: <87sgn18g92.fsf@HIDDEN>
 <CAE4v=pizjYjTMAYCXFYmacK7wiFZ5DzqZ86ArHn0LNfr2Di8Tw@HIDDEN>
Date: Tue, 12 Nov 2019 00:28:58 +0100
In-Reply-To: <CAE4v=pizjYjTMAYCXFYmacK7wiFZ5DzqZ86ArHn0LNfr2Di8Tw@HIDDEN>
 (=?utf-8?Q?=22G=C3=A1bor?= Boskovits"'s message of "Wed, 6 Nov 2019
 12:07:39 +0100")
Message-ID: <877e46m1qd.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 38086
Cc: 38086 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi G=C3=A1bor,

G=C3=A1bor Boskovits <boskovits@HIDDEN> skribis:

>> + mdadm --create /dev/md0 --verbose --level=3Dstripe --raid-devices=3D2
>> /dev/vdb2 /dev/vdb3
>> mdadm: chunk size defaults to 512K
>> mdadm: Defaulting to version 1.2 metadata
>> [   13.890586] md/raid0:md0: cannot assemble multi-zone RAID0 with
>> default_layout setting
>> [   13.894691] md/raid0: please set raid0.default_layout to 1 or 2
>> [   13.896000] md: pers->run() failed ...
>> mdadm: RUN_ARRAY failed: Unknown error 524
>> [   13.901603] md: md0 stopped.
>> --8<---------------cut here---------------end--------------->8---
>>
>> Anyone knows what it takes to =E2=80=9Cset raid0.default_layout to 1 or =
2=E2=80=9D?
>>
>
> On kernel 5.3.4 and above the
> raid0.default_layout=3D2 kernel boot paramter should be set. We should
> generate our grub configuration accordingly.

That=E2=80=99s part of the solution, thank you!

With the patch below, the =E2=80=9Craid-root-os=E2=80=9D test successfully =
installs the
system to a RAID0 device, but then that system fails to boot with:

--8<---------------cut here---------------start------------->8---
Booting from Hard Disk...
GRUB loading.
Welcome to GRUB!

error: invalid arch-independent ELF magic.
Entering rescue mode...
--8<---------------cut here---------------end--------------->8---

(It sits there forever.)

Are we missing something in =E2=80=98grub.cfg=E2=80=99?  If so, I wonder if=
 that problem
arose with the upgrade in commit
069ab3bbfde704760acaca20dff8a29d167c6be5.

Thoughts?

Ludo=E2=80=99.


--=-=-=
Content-Type: text/x-patch
Content-Disposition: inline

diff --git a/gnu/tests/install.scm b/gnu/tests/install.scm
index 22c9554705..5e421f7c54 100644
--- a/gnu/tests/install.scm
+++ b/gnu/tests/install.scm
@@ -543,7 +543,8 @@ where /gnu lives on a separate partition.")
     (bootloader (bootloader-configuration
                  (bootloader grub-bootloader)
                  (target "/dev/vdb")))
-    (kernel-arguments '("console=ttyS0"))
+    (kernel-arguments '("console=ttyS0"
+                        "raid0.default_layout=2"))
 
     ;; Add a kernel module for RAID-0 (aka. "stripe").
     (initrd-modules (cons "raid0" %base-initrd-modules))
@@ -578,9 +579,11 @@ export GUIX_BUILD_OPTIONS=--no-grafts
 parted --script /dev/vdb mklabel gpt \\
   mkpart primary ext2 1M 3M \\
   mkpart primary ext2 3M 600M \\
-  mkpart primary ext2 600M 1200M \\
+  mkpart primary ext2 600M 1.4G \\
   set 1 boot on \\
   set 1 bios_grub on
+modprobe raid0
+echo 1 > /sys/module/raid0/parameters/default_layout
 mdadm --create /dev/md0 --verbose --level=stripe --raid-devices=2 \\
   /dev/vdb2 /dev/vdb3
 mkfs.ext4 -L root-fs /dev/md0

--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#38086; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 6 Nov 2019 11:08:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 06 06:08:08 2019
Received: from localhost ([127.0.0.1]:39513 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iSJAW-0006iZ-6V
	for submit <at> debbugs.gnu.org; Wed, 06 Nov 2019 06:08:08 -0500
Received: from lists.gnu.org ([209.51.188.17]:39364)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <boskovits@HIDDEN>) id 1iSJAU-0006iR-Fg
 for submit <at> debbugs.gnu.org; Wed, 06 Nov 2019 06:08:06 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:58716)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <boskovits@HIDDEN>) id 1iSJAS-0005Ub-RL
 for bug-Guix@HIDDEN; Wed, 06 Nov 2019 06:08:06 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 HTML_MESSAGE,URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <boskovits@HIDDEN>) id 1iSJAR-0001b1-90
 for bug-Guix@HIDDEN; Wed, 06 Nov 2019 06:08:04 -0500
Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]:46633)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <boskovits@HIDDEN>)
 id 1iSJAG-0001KD-0k; Wed, 06 Nov 2019 06:07:52 -0500
Received: by mail-ed1-x52e.google.com with SMTP id x11so8909417eds.13;
 Wed, 06 Nov 2019 03:07:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=zJDSm8SoqdYoHiQUKVI4xNrGhWfMhsj07b6PoKrLP9Y=;
 b=geQHzhCcDkDaA1VD/7LzQXOkJw0zA8fjDcupFdjb7iSYqQGxt7nYRG8GI7w5E1EknD
 iV3XTfpPXZNglzBI4EVADuFNdrKi2nIyEj4jcyoAwnGePTp2yKaeupktraUrHVwOh01D
 caZZJTTv4kWmIkKO13Kg2E9/TrwwdgputJuB0eCO2FQZX92eYR9wyrSfhewoC6uUC43+
 fnkc1PzOkBiB7lajKOTrgHTwpugI4Zj6+lHAEvi8dglavQaXS8BmVxeD2ptScRqTN0IE
 jFDmd2Kp69Mkva5d2/U84amjh4L0QDvfr+ompBa/b8buU2dCUXi6YOyvvuBmLDG2tKUL
 Yphg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=zJDSm8SoqdYoHiQUKVI4xNrGhWfMhsj07b6PoKrLP9Y=;
 b=b3iKVNLCRoQWQqlG1PgpdJiAxXMz97f8Tf/AoVxIac0r5leoE3njvLLvz66aa2Z8gi
 x06ry1aET0u1O36bhwlVJrDw41glhlTON7+uYvp/LGmUmlFq8k9LXJ5WtdbjKtlNBo7T
 hLCh80yPci+QlEwNUghg9v7zG1swdyzdHBZVzZIZoipjyAQ/DdzZ0fZYv+qY5bfD0kml
 AqibqX1WHHHPuANELqEv9YiIkCTmD5qC1wiWJ+kuBxhd/F/jTr8ITgoPFB/V+m4eD5sm
 Y1m8qcekXNYas+XBsqw8nHfcZSafsVZKmo430oenHagYxRJGfufflZsFFxJrD7JMhgKM
 LkYw==
X-Gm-Message-State: APjAAAWgWhq9tXKXIoNU51VLUqYD+NroEBq78vV2UN0XSpDti0+OQTY/
 vuu3eEEKEMZYqRd4LIU5UvB15LlKQLAeqILDdmmwJZLV6Q==
X-Google-Smtp-Source: APXvYqyPw2Ku4E0XFT1Ygo2MukeKn/Y/wduzPnwE/4ZE7vbVCFR7N0Xl8/hHfIjuunEeGeHJdh6Otc/Ap+NWKUVUsfg=
X-Received: by 2002:a17:906:524b:: with SMTP id
 y11mr33438865ejm.82.1573038470496; 
 Wed, 06 Nov 2019 03:07:50 -0800 (PST)
MIME-Version: 1.0
References: <87sgn18g92.fsf@HIDDEN>
In-Reply-To: <87sgn18g92.fsf@HIDDEN>
From: =?UTF-8?Q?G=C3=A1bor_Boskovits?= <boskovits@HIDDEN>
Date: Wed, 6 Nov 2019 12:07:39 +0100
Message-ID: <CAE4v=pizjYjTMAYCXFYmacK7wiFZ5DzqZ86ArHn0LNfr2Di8Tw@HIDDEN>
Subject: =?UTF-8?Q?Re=3A_bug=2338086=3A_RAID_installation_script_with_=E2=80=98mdad?=
 =?UTF-8?Q?m=E2=80=99_no_longer_works?=
To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
Content-Type: multipart/alternative; boundary="0000000000004085af0596ab8f70"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-Received-From: 2a00:1450:4864:20::52e
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
Cc: bug-Guix@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

--0000000000004085af0596ab8f70
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hello Ludo,


Ludovic Court=C3=A8s <ludo@HIDDEN> ezt =C3=ADrta (id=C5=91pont: 2019. nov.=
 6., Sze,
11:14):

> Hello,
>
> Looks like our RAID installation method no longer works, as can be seen
> at <https://ci.guix.gnu.org/build/1906208/details>:
>
> --8<---------------cut here---------------start------------->8---
> + guix --version
> guix (GNU Guix) c4de60ac3c6aa5b46519011af89988215c347e9e
> Copyright (C) 2019 the Guix authors
> License GPLv3+: GNU GPL version 3 or later <
> http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> + export GUIX_BUILD_OPTIONS=3D--no-grafts
> + GUIX_BUILD_OPTIONS=3D--no-grafts
> + parted --script /dev/vdb mklabel gpt mkpart primary ext2 1M 3M mkpart
> primary ext2 3M 600M mkpart primary ext2 600M 1200M set 1 boot on set 1
> bios_grub on
> + mdadm --create /dev/md0 --verbose --level=3Dstripe --raid-devices=3D2
> /dev/vdb2 /dev/vdb3
> mdadm: chunk size defaults to 512K
> mdadm: Defaulting to version 1.2 metadata
> [   13.890586] md/raid0:md0: cannot assemble multi-zone RAID0 with
> default_layout setting
> [   13.894691] md/raid0: please set raid0.default_layout to 1 or 2
> [   13.896000] md: pers->run() failed ...
> mdadm: RUN_ARRAY failed: Unknown error 524
> [   13.901603] md: md0 stopped.
> --8<---------------cut here---------------end--------------->8---
>
> Anyone knows what it takes to =E2=80=9Cset raid0.default_layout to 1 or 2=
=E2=80=9D?
>

On kernel 5.3.4 and above the
raid0.default_layout=3D2 kernel boot paramter should be set. We should
generate our grub configuration accordingly.

See this for reference:
https://blog.icod.de/2019/10/10/caution-kernel-5-3-4-and-raid0-default_layo=
ut/



> We should then update (gnu tests install) and the manual accordingly.
>
> Thanks,
> Ludo=E2=80=99.
>
Best regards,
g_bor

--=20
OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21

--0000000000004085af0596ab8f70
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div>Hello Ludo,</div><div><br></div></di=
v><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">Ludo=
vic Court=C3=A8s &lt;<a href=3D"mailto:ludo@HIDDEN">ludo@HIDDEN</a>&gt; e=
zt =C3=ADrta (id=C5=91pont: 2019. nov. 6., Sze, 11:14):<br></div><blockquot=
e class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px s=
olid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
Looks like our RAID installation method no longer works, as can be seen<br>
at &lt;<a href=3D"https://ci.guix.gnu.org/build/1906208/details" rel=3D"nor=
eferrer" target=3D"_blank">https://ci.guix.gnu.org/build/1906208/details</a=
>&gt;:<br>
<br>
--8&lt;---------------cut here---------------start-------------&gt;8---<br>
+ guix --version<br>
guix (GNU Guix) c4de60ac3c6aa5b46519011af89988215c347e9e<br>
Copyright (C) 2019 the Guix authors<br>
License GPLv3+: GNU GPL version 3 or later &lt;<a href=3D"http://gnu.org/li=
censes/gpl.html" rel=3D"noreferrer" target=3D"_blank">http://gnu.org/licens=
es/gpl.html</a>&gt;<br>
This is free software: you are free to change and redistribute it.<br>
There is NO WARRANTY, to the extent permitted by law.<br>
+ export GUIX_BUILD_OPTIONS=3D--no-grafts<br>
+ GUIX_BUILD_OPTIONS=3D--no-grafts<br>
+ parted --script /dev/vdb mklabel gpt mkpart primary ext2 1M 3M mkpart pri=
mary ext2 3M 600M mkpart primary ext2 600M 1200M set 1 boot on set 1 bios_g=
rub on<br>
+ mdadm --create /dev/md0 --verbose --level=3Dstripe --raid-devices=3D2 /de=
v/vdb2 /dev/vdb3<br>
mdadm: chunk size defaults to 512K<br>
mdadm: Defaulting to version 1.2 metadata<br>
[=C2=A0 =C2=A013.890586] md/raid0:md0: cannot assemble multi-zone RAID0 wit=
h default_layout setting<br>
[=C2=A0 =C2=A013.894691] md/raid0: please set raid0.default_layout to 1 or =
2<br>
[=C2=A0 =C2=A013.896000] md: pers-&gt;run() failed ...<br>
mdadm: RUN_ARRAY failed: Unknown error 524<br>
[=C2=A0 =C2=A013.901603] md: md0 stopped.<br>
--8&lt;---------------cut here---------------end---------------&gt;8---<br>
<br>
Anyone knows what it takes to =E2=80=9Cset raid0.default_layout to 1 or 2=
=E2=80=9D?<br></blockquote><div><br></div><div>On kernel 5.3.4 and above th=
e <br><div class=3D"gmail-crayon-pre" style=3D"font-size:12px;line-height:1=
5px"><div class=3D"gmail-crayon-line" id=3D"gmail-crayon-5dc2a85372eda37977=
5633-1"><span class=3D"gmail-crayon-i">raid0</span><span class=3D"gmail-cra=
yon-sy">.</span><span class=3D"gmail-crayon-i">default_layout</span>=3D<spa=
n class=3D"gmail-crayon-cn">2 kernel boot paramter should be set. We should=
 generate our grub configuration accordingly.<br></span></div><div class=3D=
"gmail-crayon-line"><span class=3D"gmail-crayon-cn"><br></span></div><div c=
lass=3D"gmail-crayon-line"><span class=3D"gmail-crayon-cn">See this for ref=
erence: <a href=3D"https://blog.icod.de/2019/10/10/caution-kernel-5-3-4-and=
-raid0-default_layout/">https://blog.icod.de/2019/10/10/caution-kernel-5-3-=
4-and-raid0-default_layout/</a></span></div></div><table class=3D"gmail-cra=
yon-table"><tbody><tr class=3D"gmail-crayon-row"><td class=3D"gmail-crayon-=
nums"><br></td><td class=3D"gmail-crayon-code"><br></td></tr></tbody></tabl=
e></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex=
;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
We should then update (gnu tests install) and the manual accordingly.<br>
<br>
Thanks,<br>
Ludo=E2=80=99.<br></blockquote><div>Best regards, <br></div></div>g_bor<br =
clear=3D"all"><div><br>-- <br><div dir=3D"ltr" class=3D"gmail_signature"><d=
iv dir=3D"ltr">OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:=
A96C:CF63:0B21<br></div></div></div></div>

--0000000000004085af0596ab8f70--




Information forwarded to bug-guix@HIDDEN:
bug#38086; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 6 Nov 2019 10:13:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 06 05:13:19 2019
Received: from localhost ([127.0.0.1]:39495 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iSIJT-0005K3-1T
	for submit <at> debbugs.gnu.org; Wed, 06 Nov 2019 05:13:19 -0500
Received: from lists.gnu.org ([209.51.188.17]:42904)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1iSIJQ-0005Jv-Vp
 for submit <at> debbugs.gnu.org; Wed, 06 Nov 2019 05:13:17 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:40460)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ludo@HIDDEN>) id 1iSIJP-0008If-PZ
 for bug-Guix@HIDDEN; Wed, 06 Nov 2019 05:13:16 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:470:142:3::e]:44010)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1iSIJP-0002Wk-J5
 for bug-Guix@HIDDEN; Wed, 06 Nov 2019 05:13:15 -0500
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=51624 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>) id 1iSIJO-0001yY-T2
 for bug-Guix@HIDDEN; Wed, 06 Nov 2019 05:13:15 -0500
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: bug-Guix@HIDDEN
Subject: RAID installation script with =?utf-8?B?4oCYbWRhZG3igJk=?= no
 longer works
X-Debbugs-Cc: Andreas Enge <andreas@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 16 Brumaire an 228 de la =?utf-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Wed, 06 Nov 2019 11:13:13 +0100
Message-ID: <87sgn18g92.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hello,

Looks like our RAID installation method no longer works, as can be seen
at <https://ci.guix.gnu.org/build/1906208/details>:

--8<---------------cut here---------------start------------->8---
+ guix --version
guix (GNU Guix) c4de60ac3c6aa5b46519011af89988215c347e9e
Copyright (C) 2019 the Guix authors
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.htm=
l>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
+ export GUIX_BUILD_OPTIONS=3D--no-grafts
+ GUIX_BUILD_OPTIONS=3D--no-grafts
+ parted --script /dev/vdb mklabel gpt mkpart primary ext2 1M 3M mkpart pri=
mary ext2 3M 600M mkpart primary ext2 600M 1200M set 1 boot on set 1 bios_g=
rub on
+ mdadm --create /dev/md0 --verbose --level=3Dstripe --raid-devices=3D2 /de=
v/vdb2 /dev/vdb3
mdadm: chunk size defaults to 512K
mdadm: Defaulting to version 1.2 metadata
[   13.890586] md/raid0:md0: cannot assemble multi-zone RAID0 with default_=
layout setting
[   13.894691] md/raid0: please set raid0.default_layout to 1 or 2
[   13.896000] md: pers->run() failed ...
mdadm: RUN_ARRAY failed: Unknown error 524
[   13.901603] md: md0 stopped.
--8<---------------cut here---------------end--------------->8---

Anyone knows what it takes to =E2=80=9Cset raid0.default_layout to 1 or 2=
=E2=80=9D?

We should then update (gnu tests install) and the manual accordingly.

Thanks,
Ludo=E2=80=99.




Acknowledgement sent to Ludovic Courtès <ludo@HIDDEN>:
New bug report received and forwarded. Copy sent to andreas@HIDDEN, bug-guix@HIDDEN. Full text available.
Report forwarded to andreas@HIDDEN, bug-guix@HIDDEN:
bug#38086; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 18 Jan 2020 13:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.