adding a new hard drive to an existing encrypted pool

    • OMV 2.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • adding a new hard drive to an existing encrypted pool

      Hi,

      is the above possible? I have 1 hard drive already in a volume and it is encrypted with LUKS. I would like to add more hard drives to the same pool (so expanding the storage), but I also would like them to be encrypted.

      is this possible?
    • Is LVM on top of LUKS or LUKS on top of LVM?

      If you have LVM on top of LUKS, create another LUKS encrypted drive and add it to the volume group.

      If you went the other way, you would add a drive to the volume group and then you would need to resize the LUKS device from the command line.
      omv 4.1.9 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.10
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Prim3 wrote:

      Does that help? Looks like LUKS on LVM.
      It actually looks like LVM on LUKS which is good. That means you created the LUKS device first.

      Prim3 wrote:

      Is there a guide where I can follow to add more drives?
      No because most people don't use LVM on top of non-redundant drives - if a drive fails, you lose everything. But if you still want to go down that path, what I gave you in my previous post should help. Not looking at the lvm plugin but this is how you would do it from the command line:
      • Create another LUKS device from another device.
      • Add that device as a new PV (physical volume)
      • Add the new PV to the existing VG (volume group)
      • Resize the filesystem on the LV (logical volume) in the filesystems tab
      omv 4.1.9 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.10
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!