* bug#52658: RAID + LUKS exception, non-root device
@ 2021-12-19 14:52 Nick Zalutskiy
0 siblings, 0 replies; only message in thread
From: Nick Zalutskiy @ 2021-12-19 14:52 UTC (permalink / raw)
To: 52658
[-- 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 --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-12-19 17:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-19 14:52 bug#52658: RAID + LUKS exception, non-root device Nick Zalutskiy
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).