How to resize virtual machine disks
In this example we’ll use the default pool and a volume named vdisk-10G.qcow2. We’ll show how to create the volume from the host, how to format it with common filesystems (ext4, FAT32, XFS, btrfs) from inside the guest, and finally how to add 10 GB to the volume and resize the partition and filesystem.
Note: commands that manage volumes (create, resize) run on the host and use your prompt. Commands executed inside the guest (partitioning and formatting) are shown with the guest prompt javiercruces@debian13:~$.