Results 1 to 3 of 3

Thread: How to install ubuntu with two drives as one logical volume and encrypt both drives

  1. #1
    Join Date
    Apr 2018
    Beans
    2

    How to install ubuntu with two drives as one logical volume and encrypt both drives

    I have a laptop setup with UEFI and two SSDs, a 250gb & 500gb. I'd like to install Ubuntu with:

    • LVM
    • 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.

  2. #2
    Join Date
    Apr 2018
    Beans
    2

    Re: How to install ubuntu with two drives as one logical volume and encrypt both driv

    Bump. Would love some help with this.

  3. #3
    Join Date
    Jun 2007
    Location
    Arizona U.S.A.
    Beans
    5,739

    Re: How to install ubuntu with two drives as one logical volume and encrypt both driv

    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •