I have tried to resize the bionic-desktop template through the usual “Qube Settings” menu but it actually doesn’t resize. I’ve tried to look for information about this on the internet but I couldn’t get a clue on how to do it.
Does anyone know how to do it?
I have another question relating this.
That command resizes the logical volume and that’s ok, but… the problem is that partitions inside that volume doesn’t get resized.
What I’ve done is:
Installing the bionic-desktop template
Clone the template to bionic-desktop_test
Resize the logical volume with "qvm-volume resize bionic-desktop_test:root 20G
Now I start the template, open a terminal on it and run:
user@localhost:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
xvda 202:0 1 18.6G 0 disk
├─xvda1 202:1 1 200M 0 part
├─xvda2 202:2 1 2M 0 part
└─xvda3 202:3 1 9.8G 0 part /
xvdb 202:16 1 2G 0 disk /rw
xvdc 202:32 1 10G 0 disk
├─xvdc1 202:33 1 1G 0 part [SWAP]
└─xvdc3 202:35 1 9G 0 part
xvdd 202:48 1 500M 1 disk
So the volume was resized (18.6G) but the root partition is still 9.8G and that means… there’s a limit for the software that can be installed in there.
I can’t resize the partition from inside the template and I can’t find how resize specifically the xvda3 partition inside that particular logical volume.
The simplest route for you would be to use a tool like gparted:
`apt install gparted`
Open gparted - you will be asked if you want to make the extra
space available - say "Yes".
Then in the GUI, expand /dev/xvda3 to use the available space.