this post was submitted on 04 May 2024
13 points (100.0% liked)

Arch Linux

7759 readers
1 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS
 

As title says.

I've followed this guide, everything is working as desired but I got myself thinking if it'd be possible in the future to add a second nvme (I have a 1 TB nvme now). I've googled a little but all that I found so far apparently was about expanding the very same drive used in the installation, not adding a second one.

Could anyone more experienced tell me if that's is possible in this context and, if so, point me in the right direction?

top 2 comments
sorted by: hot top controversial new old
[โ€“] theit8514@lemmy.world 2 points 6 months ago (1 children)

Check the note below that section. It will attempt to unlock all root partitions with the same passphrase entered, so if you setup the second drive with encryption it will unlock alongside your primary drive. With LVM on top you should then be able to expand the VG to the second drive to add space or redundancy to your LVs.

If the second drive has subpartitions (LVM on bottom, encryption on top) it looks like you'll need additional setup (section 7.2.2) https://wiki.archlinux.org/title/Dm-crypt/Specialties#Modifying_the_encrypt_hook_for_multiple_partitions

[โ€“] CtrlAltOoops@lemmy.world 1 points 6 months ago

Hey, thanks for taking the time to help. I appreciate it.

I've read the text you suggested and I'll create a couple of vms in order to test if it works for me.