:: [DNG] UEFI, software RAID1, LVM and…
Góra strony
Delete this message
Reply to this message
Autor: Olaf Meeuwissen
Data:  
Dla: dng
Temat: [DNG] UEFI, software RAID1, LVM and encryption
Hi list,

I lost the single SSD on my mini PC and am in the process of rethinking
its storage. So far, I've got myself two brand new and identical PCIe
NVMe SSDs (256GB) for use in a software RAID1 setup. I think I need to
enable UEFI to get access to the BIOS from the GRUB menu.

I want my /home directory on a partition of its own, at a minimum, and
encrypt it. I don't see a need to encrypt much else as I am not after
plausible deniability. It's mostly to be able to return a broken disk
for a replacement and still sleep in relative peace of mind ;-)

I haven't quite made up my mind as to a need for other partitions. I
use containers and VMs quite a bit. Perhaps these are better stored
some place other than the partitions for / or (an encrypted) /home.

With 64GB of RAM, I don't see much need for swap. If needed, I could
always add a swapfile instead of a partition.

Given the above,

 - what are your expert(?) opinions on partitioning for this?
 - how do I make (and keep) both disks bootable?
 - can I put the ESP on RAID1?
   - if not, how do I keep the copies in sync?
 - do I need a separate partition for /boot?
   - if so, can it be put on RAID1?
     - if not, how do I keep the copies in sync?
 - should I use LVM?
 - does randomizing the partition for /home make sense if on LVM and may
   get resized sometime in the future?


Thanks in advance,

--
Olaf Meeuwissen