Re: Can i shrink the image file size?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



John Wong wrote:

>I create the 30G qcow2 image file, installed winxp, winxp show me the
>harddisk used 5G, but the image file size is 12G now.
>can i shrink the image file size? how?
>my kvm version is: "kvm-84", qemu version is: "0.9.1".
>please help, thank you.

In addition to what the others said, you might be able to reclaim some
space by running qemu-img convert. If you tell it to compress, it will
certainly reduce the image file size, perhaps with a little loss in
performance.

qemu-img convert -c -O qcow2 source.img target.img
-- 
Ross McKay, Toronto, NSW Australia
"There is more to life than simply increasing its speed." - Gandhi
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux