My luks encrypted lvm is running out of space. I want to extend the volume group with a new physical volume.

Will the data on that physical volume be encrypted automatically when added to the volume group? Do I maintain encryption when extending a luks encrypted lvm with a physical volume?

  • no and yes if you do it right. Google is your friend here; I found help.ubuntu.com/community/ResizeEncryptedPartitions as the first hit. Nov 10, 2020 at 7:54
  • Hi, what keywords did you use for your search? I was not successful using google. Nov 10, 2020 at 18:48
  • "linux resize encrypted partitions" Nov 11, 2020 at 9:25
  • just copied&pasted the keyword, and i dont see any help ubuntu link in the first three pages at all. Nov 11, 2020 at 10:29
  • Hm. Welcome to your personal google bubble. Perhaps my bubble contains more Linux stuff than yours. Ah well, hope the link helps anyway. I didn't feel much use in just reproducing material that someone else wrote; therefore it is not an answer but a comment. Nov 11, 2020 at 10:32

1 Answer 1


Depends on where (on what level) is your encryption configured. Usually you have encrypted physical volumes (so the stack looks like partition->luks/dm-crypt device->physical volume->volume group->logical volumes), in this case you need to make sure the new PV is also encrypted. But you can also have encrypted logical volumes (in this case the luks/dm-crypt device is on top of the LV) in this case you just need to make sure to resize the LV correctly after adding the second PV and all data on the LV will still be encrypted.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .