View Full Version : [ubuntu] How to install ubuntu with two drives as one logical volume and encrypt both drives

April 16th, 2018, 02:31 AM
I have a laptop setup with UEFI and two SSDs, a 250gb & 500gb. I'd like to install Ubuntu with:

Encryption on both drives

I'd like to setup the two drives as one large logical volume using LVM and have the whole thing encrypted.

From previous single drive installs I know that during the install process I'm prompted if I want to encrypt my drive and use LVM. At this point am I able to configure the two drives as one large logical volume and have that encrypted or does Ubuntu solely allow me to install it to one physical drive.

Thanks and please let me know if I've not provided enough info. Happy to offer more if I can.

April 21st, 2018, 03:13 PM
Bump. Would love some help with this.

Dennis N
April 21st, 2018, 04:41 PM
To get one volume group to occupy both drives, I believe you need to have an LVM physical volume on both, then make a volume group that comprises both of those. I don't span disks with a volume group because of the caution given below, but if I wanted to do this, my best guess would be to first set up drive A only with disk encryption, then expand the vg and expand the lv to include the second lvm phyical volume on the second drive as well. I expect the expanded vg and lv would fall under the encryption umbrella.

Caution: May not be the best idea to span two drives with one volume group. If one drive fails, you risk data becoming inaccessible or lost on both drives that use that volume group.