kvm | qemu | qcow2 dynamic/sparse disk allocation problem | shrink sparse qcow2 disks howto

In some recent qemu versions there is a problem while creating sparse disks using the virt-manager. Normally the qcow2 format always allocates space dynamically (sparse), but some qemu versions fail at this, they create disks with full expected size. Solution: The easy way: Backup your old qcow2 image. Then do apt-get install libguestfs-tools virt-sparsify kvm_backup/debian_mssql.qcow2 […]