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:
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.
Any ideas on how to do it?
Thanks in advance!