all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Gábor Boskovits" <boskovits@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: bug-Guix@gnu.org
Subject: bug#38086: RAID installation script with ‘mdadm’ no longer works
Date: Wed, 6 Nov 2019 12:07:39 +0100	[thread overview]
Message-ID: <CAE4v=pizjYjTMAYCXFYmacK7wiFZ5DzqZ86ArHn0LNfr2Di8Tw@mail.gmail.com> (raw)
In-Reply-To: <87sgn18g92.fsf@inria.fr>

[-- Attachment #1: Type: text/plain, Size: 1981 bytes --]

Hello Ludo,


Ludovic Courtès <ludo@gnu.org> ezt írta (időpont: 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=--no-grafts
> + 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 set 1 boot on set 1
> bios_grub on
> + mdadm --create /dev/md0 --verbose --level=stripe --raid-devices=2
> /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 “set raid0.default_layout to 1 or 2”?
>

On kernel 5.3.4 and above the
raid0.default_layout=2 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_layout/



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

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

[-- Attachment #2: Type: text/html, Size: 3523 bytes --]

  reply	other threads:[~2019-11-06 11:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-06 10:13 bug#38086: RAID installation script with ‘mdadm’ no longer works Ludovic Courtès
2019-11-06 11:07 ` Gábor Boskovits [this message]
2019-11-11 23:28   ` Ludovic Courtès
2019-11-22 18:30     ` Ludovic Courtès
2020-01-17 22:42     ` Vagrant Cascadian
2020-01-18 13:29       ` Gábor Boskovits
2020-01-18 21:46       ` Ludovic Courtès
2020-01-18 22:03         ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2020-01-19 22:13           ` Ludovic Courtès
2020-01-19 22:31             ` Tobias Geerinckx-Rice via Bug reports for GNU Guix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAE4v=pizjYjTMAYCXFYmacK7wiFZ5DzqZ86ArHn0LNfr2Di8Tw@mail.gmail.com' \
    --to=boskovits@gmail.com \
    --cc=bug-Guix@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.