I run several virtual ubuntu machines on a proxmox server. They all have a single disk without LVM. When disk space runs out I poweroff the virtual machine, then enlarge the partition, mount gparted ISO, boot from this ISO, resize the partition, and boot the vm again.
Now I wonder if there is a simpler way without rebooting the virtual machine.
Toggle some informations about the root filesystem:
/dev/sda2
is the second partition of block device/dev/sda
. To size up this partition, you can use the toolparted
.After changing size of partition, you have to size up the filsystem too:
This is for checking modifications: