[PVE-User] qcow2 file size too large

Shain Miley smiley at npr.org
Tue May 11 16:30:38 CEST 2010


There do not appear to be any snapshots listed...the following command 
produces no output:

proxmox7:/var/lib/vz/images/115# qemu-img snapshot -l vm-115-disk.qcow2

When viewing the info here is what I get:

proxmox7:/var/lib/vz/images/115# qemu-img info vm-115-disk.qcow2
image: vm-115-disk.qcow2
file format: qcow2
virtual size: 8.0G (8589934592 bytes)
disk size: 137G
cluster_size: 4096


I will keep looking around for answers...but if anyone has any other 
suggestions please let me know.

Thanks,

Shain


Dietmar Maurer wrote:
> Do you make KVM snapshots?
>
> You can try to copy the file with qemu-img. The new file should be smaller.
>
> - Dietmar
>
>   
>> -----Original Message-----
>> From: pve-user-bounces at pve.proxmox.com [mailto:pve-user-
>> bounces at pve.proxmox.com] On Behalf Of Shain Miley
>> Sent: Montag, 10. Mai 2010 22:21
>> To: PVE-User
>> Subject: [PVE-User] qcow2 file size too large
>>
>> Hi,
>> I was wondering if anyone could shed some light on this issue that I
>> just uncovered.
>>
>> 6 months ago I setup a 8GB windows VM using KVM.   Today I was checking
>> on some disk space issues and I noticed that this 8GB VM is now taking
>> up 138GB:
>>
>> proxmox7:/var/lib/vz/images/115# du -hsc *
>> 138G    vm-115-disk.qcow2
>> 138G    total
>>
>>
>> Does anyone know why the file would grow to a size that large?  Also
>> any
>> ideas as to how I resize this file so I can regain the disk space?
>>
>> Thanks,
>>
>> Shain
>>
>> _______________________________________________
>> pve-user mailing list
>> pve-user at pve.proxmox.com
>> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>>     
>
>
>
>   




More information about the pve-user mailing list