[Bug 1322433] [NEW] virt-manager cloning ignores--sparse flag

Philip Orleans venefax at gmail.com
Fri May 23 05:31:43 UTC 2014


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



More information about the Ubuntu-server-bugs mailing list