Hopefully this is the right place to ask! Ive been self hosting stuff for a while but with the recent GitHub stuff it’s a reminder it’s time to stop mirroring and start fully hosting everything. As such I wanted to add some small amount of redundancy to my little mini pc. Currently I’ve got a nvme drive in there encrypted with LUKS that I unlock with dropbear. I was wondering if adding another drive in raid 1 with the setup would be possible/ how difficult it might be. I’m using Ubuntu server btw.
Adding drive for raid 1 to LUKS?
Submitted 2 weeks ago by darkmatter@feddit.org to selfhosted@lemmy.world
wildbus8979@sh.itjust.works 2 weeks ago
Yes it’s totally possible, you can stack mdadm, lvm, and luks (an Infact stack them in any order you want - not that all combinations make sense).
However you will need to make a backup of your disk first to create the mdadm raid1 since most likely you would like the raid to be first.