Disk size changed after it was migrated.

jtracy

Member
Aug 30, 2018
43
4
13
50
So I created a CentOS atomic image by downloading the qcow2 image and using it as the disk for the VM. After creating the VM I detached the disk, replaced the qcow2 of the disk with the atomic image and then reattached the disk. After reattaching the disk it shows up in the VM's config as 10GB but the qcow2 image is approximately 1.4GB.

If I then clone this VM and specify a different Storage backend on another NFS server or do a full clone the qcow2 image is then copied and now show up as 10GB. Not sure what is going on other then maybe a sparse image is being copied to an full image, but I am not sure about that. Is there any way to prevent this from happening?
 

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!