From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?G=C3=A1bor?= Boskovits Subject: bug#38086: RAID installation script with =?UTF-8?Q?=E2=80=98mdadm=E2=80=99?= no longer works Date: Wed, 6 Nov 2019 12:07:39 +0100 Message-ID: References: <87sgn18g92.fsf@inria.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000004085af0596ab8f70" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:59166) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSJBQ-0006F6-1I for bug-guix@gnu.org; Wed, 06 Nov 2019 06:09:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iSJBO-0002Ml-Jk for bug-guix@gnu.org; Wed, 06 Nov 2019 06:09:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58925) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iSJBO-0002Mc-Gi for bug-guix@gnu.org; Wed, 06 Nov 2019 06:09:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iSJBO-0006kD-94 for bug-guix@gnu.org; Wed, 06 Nov 2019 06:09:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:58716) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSJAS-0005Ub-RL for bug-Guix@gnu.org; Wed, 06 Nov 2019 06:08:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iSJAR-0001b1-90 for bug-Guix@gnu.org; Wed, 06 Nov 2019 06:08:04 -0500 In-Reply-To: <87sgn18g92.fsf@inria.fr> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: bug-Guix@gnu.org --0000000000004085af0596ab8f70 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello Ludo, Ludovic Court=C3=A8s 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 : > > --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
Hello Ludo,


Ludo= vic Court=C3=A8s <ludo@gnu.org> e= zt =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/licens= es/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 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
[=C2=A0 =C2=A013.890586] md/raid0:md0: cannot assemble multi-zone RAID0 wit= h default_layout setting
[=C2=A0 =C2=A013.894691] md/raid0: please set raid0.default_layout to 1 or = 2
[=C2=A0 =C2=A013.896000] md: pers->run() failed ...
mdadm: RUN_ARRAY failed: Unknown error 524
[=C2=A0 =C2=A013.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 th= e
raid0.default_layout=3D2 kernel boot paramter should be set. We should= generate our grub configuration accordingly.


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

Thanks,
Ludo=E2=80=99.
Best regards,
g_bor

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