[Pkg-libvirt-maintainers] Bug#813579: virt-manager: Cloning ignores sparse disk

Klaus Fuerstberger linuxbox at arcor.de
Wed Feb 3 10:50:57 UTC 2016


Package: virt-manager
Version: 1:1.0.1-5
Severity: important

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

When cloning a VM in virt-manager (right click - "Clone") the cloned disk file is fully allocated even when cloning a sparse disk.

The original disk:
# du -h asv1-jessie-clone.img 
3.9G    asv1-jessie-clone.img

The cloned disk:
# du -h asv1-jessie-clone1.img 
81G     asv1-jessie-clone1.img

In the debug output it recognizes the allocation but obviously does not clone with the sparse option:

##############################
[Mi, 03 Feb 2016 11:38:10 virt-manager 22690] DEBUG (cloner:426) Starting duplicate.
[Mi, 03 Feb 2016 11:38:10 virt-manager 22690] DEBUG (storage:701) Creating storage volume 'asv1-jessie-clone1.img' with xml:
<volume>
  <name>asv1-jessie-clone1.img</name>
  <capacity>85899345920</capacity>
  <allocation>4064464896</allocation>
  <target>
    <format type="raw"/>
  </target>
</volume>
##############################

In earlier versions of virt-manager cloning sparse files as sparse files was possible.

-- System Information:
Debian Release: 8.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/12 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages virt-manager depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.22.0-1
ii  gconf2                                       3.2.6-3
ii  gir1.2-gtk-3.0                               3.14.5-1+deb8u1
ii  gir1.2-gtk-vnc-2.0                           0.5.3-1.3
ii  gir1.2-libvirt-glib-1.0                      0.1.9-4
ii  gir1.2-vte-2.90                              1:0.36.3-1
ii  librsvg2-common                              2.40.5-1
ii  python-dbus                                  1.2.0-2+b3
ii  python-gi                                    3.14.0-1
ii  python-gi-cairo                              3.14.0-1
ii  python-ipaddr                                2.1.11-2
ii  python-libvirt                               1.2.9-1
ii  python-urlgrabber                            3.9.1-4.1
pn  python2.7:any                                <none>
pn  python:any                                   <none>
ii  virtinst                                     1:1.0.1-5

Versions of packages virt-manager recommends:
ii  gir1.2-spice-client-gtk-3.0  0.25-1+b1
ii  gnome-icon-theme             3.12.0-1
ii  libvirt-daemon-system        1.2.9-9+deb8u1

Versions of packages virt-manager suggests:
ii  gnome-keyring        3.14.0-1+b1
pn  python-gnomekeyring  <none>
pn  python-guestfs       <none>
ii  ssh-askpass          1:1.2.4.1-9
ii  virt-viewer          1.0-1

-- no debconf information



More information about the Pkg-libvirt-maintainers mailing list