Disk size in guest .conf file

brdctr

Renowned Member
Jan 16, 2015
4
0
66
I'm moving my home lab from ESXi over to Proxmox. I mounted my NFS datastore that ESXi uses and converted the vmdk file to qcow2 overwriting the file that was created when I created the guest in Proxmox.

The size in the .conf file (and web GUI) show 32GB but the actual disks are different sizes; 20GB, 100GB, etc. Is there any problem with the size being set in the .conf file? On one VM I removed the size= part of the vitrio0: line and now the GUI doesn't display the size and everything still runs.

I'm wondering what size= is used for in the virtio0: line and if it's optional.
 
Thanks for the clarification on the size value. qm rescan did the trick to make it match what it was.