Hello,
I am running Proxmox 4.1 and a KVM which I configured to use 200GB hard disk as a qcow2 file. Was created with 4.0 a while ago.
I now had the situation that the image file grew much larger than the image size resulting in an out of diskspace on my host.
Is it possible to limit the size an image can grow to? I thought the size I specified when creating the KVM (the vitual size) was supposed to be it. Obviously this was not the case...
So is it possible to limit disk image sizes? And how to do so?
Stephan
I am running Proxmox 4.1 and a KVM which I configured to use 200GB hard disk as a qcow2 file. Was created with 4.0 a while ago.
I now had the situation that the image file grew much larger than the image size resulting in an out of diskspace on my host.
Code:
# qemu-img info vm-101-disk-1.qcow2
image: vm-101-disk-1.qcow2
file format: qcow2
virtual size: 200G (214748364800 bytes)
disk size: 219G
cluster_size: 65536
Format specific information:
compat: 1.1
lazy refcounts: false
refcount bits: 16
corrupt: false
Is it possible to limit the size an image can grow to? I thought the size I specified when creating the KVM (the vitual size) was supposed to be it. Obviously this was not the case...
So is it possible to limit disk image sizes? And how to do so?
Stephan