LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 06-11-2022, 08:50 PM   #1
GRS63
Member
 
Registered: Mar 2009
Posts: 87

Rep: Reputation: 1
RAID &LUKS


I am building anew machine. Intel 12 gen i7 processor after a mechanical issue with the old one. I have successfully got going a system using Fedora 36 workstatopn btrfs in a RAID 1 configuration using LUKS1 encryption. The The RAID configuration being setup using anaconda on the live CD. The Raid system is using two NVMe SSDs nvme0n1 and nvme1n1
I set the Raid up with /boot, /boot/efi and a / partitions
Partition 1 being the /boot/efi one as a RAID1 configuration EFI Filesystem.
Partition 2 being the / partition as RAID1 and LUKs1 encryption names FEDORA
Partition 3 being /boot partition as RAID 1 ext4
the / partition being set up with btrfs subvolumes so later I can use snapper or snapshot etc.
All seems to work fine,the system boots as expected.

Now I want to move the /boot partition into the root files system and configure grub to boot from it. remove the old partition and merge the space into the BTRFS volume.

for this I am following an article from sysguides Install fedora 36 with LUKS Full disk encryption + snapper+ grub-btrfs.
I am having an issue in reviewing the LUKs encrytion details. The article is written for a system that does not use a RAID configuration. In the article partitions 2 and 3 are the same as my partitions 2 and 3 article sda2 being the same as my nvme0n1p2 and nvme1n1p2 in the Raid configuration and article sda3 being the same as my nvme0n1p3 and nvme1n1p3.this also is shown as md127.

To look at the LUKs encryption details the artical says to use.#cryptsetuplukDump /dev/sda2 which I understand for a non raid system but what do I use in a RAID configuration to replace /dev/sda2 to access the details. the UUID for the partition, dev/nvme0np2 and same again for nvme1n1p2 or what.?

Finally I have same issue when looking at repalcing the old partition 3 device UUID with a LIKs encrypted device UUID where the root file system is mounted.
The article shows
#OLDBOOTUUID='$(lsblk -dno uuid /dev/sda3)"
#NEWLUKSUUID="$(lsblk -dno uuid /dev/mapper/luks-$(cryptsetup luksUUID /dev/sda2))"

My question is what to use the sda3 /dev/md127 the raid designation or enter two lines one with /dev/nvme0n1p2 and the other dev/nvme1n1p2 or can the two nvme be added on the same line.

the the same again in regard to /dev/sda2, on line 2 as I asked about above to look at the LUKs encryption details.

Can anyone assist with these questions please as I can not seen to find articles to assist.

Thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Uefi and full disk encryption with lvm on luks with luks keyfile lancsuk Slackware 2 04-02-2021 02:43 PM
LUKS on RAID or RAID on LUKS? retch Linux - Server 3 05-05-2010 01:57 PM
AOL UK && BT Voyager 100 && Slackware 10.2 && RP-PPPoE pitt0071 Linux - Networking 3 01-17-2006 06:10 AM
Phục hồi dữ liệu bị mất???, cứ pollsite General 1 06-27-2005 12:39 PM
Gotta love those ٱٱٱٱٱٱٱ&# iLLuSionZ Linux - General 5 11-18-2003 07:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 02:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration