Expand a qcow2 Windows Virtual

tomc

Active Member
Mar 10, 2010
94
0
26
77
Sydney Australia
Hi
I quickly setup a Windows 8.1 Virtual pc with only 20GB.
After doing some testing I need to expand it by another 20GB.
I turned off the VM.
Used the Graphical interface, selected the VM.
Select Hardware, Select Hard Disk (virtio0).
Select Resize Disk, Add 20GB.
"command '/usr/bin/qemu-img resize /var/lib/vz/images/103/vm-103-disk-1.qcow2 37580963840' failed:exit code (500)"
Could I do a snapshot, create a new VM the correct size then restore the snapshot to that then boot from parted magic and adjust partition size?

Tom
 

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!