unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Nick Zalutskiy" <nick@const.fun>
To: 52658@debbugs.gnu.org
Subject: bug#52658: RAID + LUKS exception, non-root device
Date: Sun, 19 Dec 2021 09:52:37 -0500	[thread overview]
Message-ID: <026aaa84-4b0c-49ee-ae3d-59e764627ed6@www.fastmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1799 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 4006 bytes --]

[-- Attachment #2: DSC_0177-2.JPG --]
[-- Type: image/jpeg, Size: 135733 bytes --]

                 reply	other threads:[~2021-12-19 17:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=026aaa84-4b0c-49ee-ae3d-59e764627ed6@www.fastmail.com \
    --to=nick@const.fun \
    --cc=52658@debbugs.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).