Public bug reported: Scenario You have a Virtual Machine where you created the *.img file without clicking in "allocate all the space now", so the virtual disk file is sparse, which is great. Suppose your file is nominally larger than your available space in the Host. Then, if you attempt to clone (right-click clone) that virtual machine, the process will fail because virt-manager does not use the --sparse=always flag when it copies the virtual disk. Virt-manager needs to find out if the original virtual disk to be cloned is sparse, and use the same flag. Instead, it creates a fully-expanded file.
** Affects: libvirt (Ubuntu) Importance: Undecided Status: New ** Description changed: Scenario - You have a Virtual Machine where you created the *.img file without clicking in "allocate all the space now", so the virtual disk file is sparse, which is great. Suppose your file is nominally larger than your available space in the Host. Then, if you attempt to clone (right-click clone) that virtual machine, the process will fail because virt-manager does not use the --sparse=always flag when it copies the virtual disk. Virt-manager needs to find out if the original virtual disk to be cloned is sparse, and use the same flag. Instead, it created fully-expanded file. + You have a Virtual Machine where you created the *.img file without clicking in "allocate all the space now", so the virtual disk file is sparse, which is great. Suppose your file is nominally larger than your available space in the Host. Then, if you attempt to clone (right-click clone) that virtual machine, the process will fail because virt-manager does not use the --sparse=always flag when it copies the virtual disk. Virt-manager needs to find out if the original virtual disk to be cloned is sparse, and use the same flag. Instead, it creates a fully-expanded file. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in Ubuntu. https://bugs.launchpad.net/bugs/1322433 Title: virt-manager cloning ignores--sparse flag To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1322433/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs