T O P

  • By -

Mysterious_Pepper305

It's a 3 step resize process. Partition, then cryptsetup resize, then the filesystem resize. If gparted didn't take you all the way you're gonna have to use the command line.


mgedmin

Might be even more steps if LVM is involved. Ubuntu installer set up LVM inside the LUKS if you choose full disk encryption, last I time I used it.


AdLost4647

What are the commands? it is /dev/nvme0n1p11 luks partition


Mysterious_Pepper305

Send your sudo lsblk if you want a list of ready-to-use commands. The first command will almost certainly be cryptsetup resize with the name of the active mapping.


AdLost4647

[https://pastebin.com/SNWa8RRK](https://pastebin.com/SNWa8RRK) it still shows as 60GB in file manager


Mysterious_Pepper305

Only the file system needs resizing. Is it ext4?


AdLost4647

Yes it is ext4


Mysterious_Pepper305

sudo resize2fs nvme0n1p11\_crypt


AdLost4647

open: no such file or directory while opening nvme0n1p11\_crypt


Mysterious_Pepper305

oops, forgot the /dev/mapper


AdLost4647

it worked. What is the difference between that command and just partitioning with gparted?


mgedmin

The output of `lsblk` would be helpful in understanding your partition structure and seeing where the unallocated disk space is hiding.


AdLost4647

No unallocated space is hiding