1

Having read about the pros and cons of "LUKS on LVM" vs "LVM on LUKS" I came to the conclusion that "LUKS on LVM" does not provide live resize. But why? And is this even true as of todays implementations?

For the context this is what I have in my /etc/crypttab:

decrypted_root  /dev/vg_ubuntu/LV_crypted_root none luks

This is my /etc/fstab:

/dev/mapper/decrypted_root   /   ext4    errors=remount-ro 0       1

Here is what I did:

lvextend -L +10G /dev/vg_ubuntu/LV_crypted_root
cryptsetup resize decrypted_root
resize2fs /dev/mapper/decrypted_root

And now my overall question: What could possibly go wrong with this?

0 Answers0