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.
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: Mon, 11 Nov 2019 23:45:02 UTC

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