GNU bug report logs - #52658
RAID + LUKS exception, non-root device

Previous Next

Package: guix;

Reported by: "Nick Zalutskiy" <nick <at> const.fun>

Date: Sun, 19 Dec 2021 16:55:01 UTC

Severity: normal

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Nick Zalutskiy" <nick <at> const.fun>
To: bug-guix <at> gnu.org
Subject: RAID + LUKS exception, non-root device
Date: Sun, 19 Dec 2021 09:52:37 -0500
[Message part 1 (text/plain, inline)]
Hello all,

I have the following configuration that results in an exception being thrown ("pre-mount actions failed") during boot after entering the LUKS password for the RAID array, which seems to assemble just fine in the prior step. I can also assemble this array, luksOpen, and mount just fine manually. See bellow and attached photo (sorry):

> (operating-system
>   ...
>   (initrd-modules (cons "raid0" %base-initrd-modules))
>   ...
>   (bootloader
>     (bootloader-configuration
>       (bootloader grub-efi-bootloader)
>       (target "/boot/efi")
>       (keyboard-layout keyboard-layout)))
>   (mapped-devices
>     (list (mapped-device
>             (source
>               (uuid "bdc2cdb8-f0df-46c9-994d-34ce101fc22a"))
>             (target "cryptroot")
>             (type luks-device-mapping))
>   (mapped-device
>     (source (list "/dev/nvme0n1" "/dev/nvme1n1" "/dev/nvme2n1" "/dev/nvme3n1"))
>     (target "/dev/md0")
>     (type raid-device-mapping))
>   (mapped-device
>     (source "/dev/md0")
>     (target "cryptraid0")
>     (type luks-device-mapping))))
>   (file-systems
>     (cons* (file-system
>              (mount-point "/")
>              (device "/dev/mapper/cryptroot")
>              (type "btrfs")
>              (dependencies mapped-devices))
>    (file-system
>              (mount-point "/raid0")
>              (device "/dev/mapper/cryptraid0")
>              (type "xfs")
>              (dependencies mapped-devices))
>            (file-system
>              (mount-point "/boot/efi")
>              (device (uuid "CBA2-3DD4" 'fat32))
>              (type "vfat"))
>            %base-file-systems)))

I'm also unable to reconfigure the system unless I already have the array mounted and luksOpened, so perhaps I'm doing this all wrong?

Thank you,

-Nick
[Message part 2 (text/html, inline)]
[DSC_0177-2.JPG (image/jpeg, attachment)]

This bug report was last modified 3 years and 235 days ago.

Previous Next


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