qcow2: Resize disk

vasquezmi

Member
Aug 26, 2022
5
0
6
I am using the qcow2 image from Debian 12 for a local vm.

I followed the instructions to get and put the file in a new template structure, created a base VM and attached the qcow2 as a virtio disk.
The original size once attached was 2GB with about 1.5GB already used.
I want to resize this to 32G. I followed instruction to update the size in the gui and that took; however that appears to only set the available allocation.

When I tried to add a package of 1.2G to the VM is failed and errored that I ran out of disk space.
I tried instructions from here: https://pve.proxmox.com/wiki/Resize_disks and here: https://www.privex.io/articles/how-to-resize-partition/ but still not able to fix.

Any advice on how to increase the total size of the drive so I can continue with my use case?

Thanks in advance.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!