On Mon, 12 Dec 2022 06:55:15 -0800
ToddAndMargo via users wrote:

> I wonder if qemu-ing convert will convert from
> qcows2 to qcows2?  I will see!

Yep, that's how I always sparsified my files before the virt-sparsify
tool existed. Write zeroes till you run out of space (thus making all
the free space on the disk blocks of zeroes), shut down the VM, and
qemu-img convert from qcow2 to qcow2. The destination file is much
smaller (usually) but has the same data in it. Rename the file and
now the VM takes less space.
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to