qcow2 images not shrinking

miles

New Member
Mar 4, 2009
6
0
1
Hi,

I have one small problem - not really a problem with your great proxmox.

When qcow2 images for kvm are growing and files inside the vm are deleted later, the qcow2 file on the disk is not shrinking.
So there seems to be no possiblity of getting the hdspace back by removing files.

Is this the expected behaviour? Is there any other possiblity for kvm diskimages? Especially it would be cool to have files readable in the host system. I think about creating a lvm volume per vm or something.


Best regards,

Miles
 
When qcow2 images for kvm are growing and files inside the vm are deleted later, the qcow2 file on the disk is not shrinking.
So there seems to be no possiblity of getting the hdspace back by removing files.Is this the expected behaviour?

yes

Is there any other possiblity for kvm diskimages? Especially it would be cool to have files readable in the host system. I think about creating a lvm volume per vm or something.

that is planned.
 

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!