From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vagrant Cascadian Subject: bug#38086: RAID installation script with =?UTF-8?Q?=E2=80=98mdadm=E2=80=99?= no longer works Date: Fri, 17 Jan 2020 14:42:53 -0800 Message-ID: <87r1zx902a.fsf@yucca> References: <87sgn18g92.fsf@inria.fr> <877e46m1qd.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:58872) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1isaLT-00007y-Ft for bug-guix@gnu.org; Fri, 17 Jan 2020 17:44:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1isaLR-0001ka-RY for bug-guix@gnu.org; Fri, 17 Jan 2020 17:44:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34293) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1isaLR-0001kM-PA for bug-guix@gnu.org; Fri, 17 Jan 2020 17:44:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1isaLR-0002iH-NF for bug-guix@gnu.org; Fri, 17 Jan 2020 17:44:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <877e46m1qd.fsf@gnu.org> 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-mx.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , =?UTF-8?Q?G=C3=A1bor?= Boskovits Cc: 38086@debbugs.gnu.org --=-=-= 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 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----- --=-=-=--