I need to make my partition bigger, but when I launch GParted to do so it only detects two partitions. One holding the Grub, and one just being my main 1TB hard-drive.
However, in my Dolphin file manager you see I have another 9.3 GiB partition. That one needs to be expanded otherwise I won't be able to install things anymore. But GParted doesn't find it.
I hope it ain't a problem the partition is encrypted?
Best Answer
(The following assumes that your distribution uses
sudo
to run commands as the superuser; if that's not the case, then become superuser withsu -
and omit thesudo
.)Open the encrypted partition using
cryptsetup
:Check that the logical volumes have been autodiscovered using
lvs
:If they have not been autodiscovered force a LVM rescan with
vgchange
:Examine the size of the LVM physical volume with
pvs
:If there is no free space, then extend the physical volume to cover the partition with
Examine the size of the logical volumes with
You can now resize individual LVM logical volumes using
lvresize
.sudo lvresize --resizefs --size
‹size› ‹logicalvolume›G
for GiB; see the manual page for details.lvs -o fullname
.