Feature request: Resize LUKS, LVM-on-LUKS, and LUKS-on-LVM
Resize functionality status for gnome-disk-utility:
- Resize LUKS (FS on LUKS on Partition): Not possible (I've tried it)
- LVM-on-LUKS (LVM PV on LUKS on Partition): Not possible (I've tried it)
- LUKS-on-LVM (FS on LUKS on LVM LV): Not tested
LUKS
It's not possible to resize a file system (for example EXT4) that is encrypted with LUKS in gnome-disk-utility 42.0-1ubuntu1. Gparted can do this.
Once implemented, the next step should logically be to add support for LVM-on-LUKS, and LUKS-on-LVM:
LVM-on-LUKS
Some distros are asking if you want this setup by default during installation and are also using all disk space on the hard drive, no matter how big it is. Modern hard drives are often 1 TB. So it would be convenient if you could shrink the partition after installation with this GUI that often comes with the distros, so backups of disk images can be made that don't take too much space. Generally, not more than 20 GB is needed for a distro.
- LVM on LUKS - https://en.wikipedia.org/wiki/Linux_Unified_Key_Setup#LVM_on_LUKS
- Tutorial: https://wiki.archlinux.org/title/dm-crypt/Encrypting_an_entire_system#LVM_on_LUKS, https://wiki.archlinux.org/title/Resizing_LVM-on-LUKS
LUKS-on-LVM
- LUKS on LVM - https://en.wikipedia.org/wiki/Linux_Unified_Key_Setup#LUKS_on_LVM
- Tutorial: https://wiki.archlinux.org/title/dm-crypt/Encrypting_an_entire_system#LUKS_on_LVM
Note
Perhaps it's best to open separate issues for LVM-on-LUKS, and LUKS-on-LVM, when it's possible to resize LUKS.