VM size increases but not go down in proxmox 3.4

Hamza

New Member
Feb 23, 2016
4
0
1
35
Hello,
I will post my problem , after installing the machine virtual (Windows Server 2012) in Proxmox V3.4 ,I copy a file in the VM, the machine size is increased , this is normal Done But the worst is when I deleted the file in machine ,size remains as he is and do not go down.
is it fault in proxmox or is there a method to solve the problem ?
Thanks for the help
 
No. This also no fault from our side. The problem here is that it's dependent from the VM (guest) OS which we have no control over.
If you have control over the guest OS then you can write a script for that, but I recommended to not do that to often, it brings unnecessary load on guest and host.

And you will only gain a few megabytes here and there, you have to remember the OS knows which files (or the regions where the file was) are deleted, so it won't grow the image until all delete space is used again.
 
thank you,
So it is a rule of proxmox .
I realized that to not need to compress the VM because the VM can not exceed the size reserved .