I'm using Proxmox 2.1 and needed to move an image file (vm-100-disk-1.raw). I compressed it with gzip, moved it and then later brought it back to the Proxmox host server and unzipped it. Before the process it showed the following disk info:
root@host1:/var/lib/vz/images/100# qemu-img info vm-100-disk-1.raw
image: vm-100-disk-1.raw
file format: raw
virtual size: 32G (34359738368 bytes)
disk size: 4.1G
After compressing and uncompressing with gzip and gunzip:
root@host1:/var/lib/vz/images/100# qemu-img info vm-100-disk-1.raw
image: vm-100-disk-1.raw
file format: raw
virtual size: 32G (34359738368 bytes)
disk size: 32G
When I do df in the VM things still look fine.
Can someone help me to recover the disk space.
thanks in advance.
root@host1:/var/lib/vz/images/100# qemu-img info vm-100-disk-1.raw
image: vm-100-disk-1.raw
file format: raw
virtual size: 32G (34359738368 bytes)
disk size: 4.1G
After compressing and uncompressing with gzip and gunzip:
root@host1:/var/lib/vz/images/100# qemu-img info vm-100-disk-1.raw
image: vm-100-disk-1.raw
file format: raw
virtual size: 32G (34359738368 bytes)
disk size: 32G
When I do df in the VM things still look fine.
Can someone help me to recover the disk space.
thanks in advance.