[Pkg-libvirt-maintainers] Bug#777548: libguestfs-tools: virt-builder fails with --size option
Jean-Baptiste Rouault
jean-baptiste.rouault at diateam.net
Mon Feb 9 17:11:59 UTC 2015
Package: libguestfs-tools
Version: 1:1.28.1-1
Severity: normal
Tags: patch
Dear Maintainer,
When running virt-builder with --size option, the command fails to resize the disk image.
Here is the program output :
jb at debian:~$ virt-builder debian-7 -o debian7.img --size 8G
[ 1.0] Downloading: http://libguestfs.org/download/builder/debian-7.xz
[ 2.0] Planning how to build this image
[ 2.0] Uncompressing
[ 4.0] Resizing (using virt-resize) to expand the disk to 8.0G
virt-resize: error: libguestfs error: copy_device_to_device: /dev/sdb2:
write: No space left on device
If reporting bugs, run virt-resize with debugging enabled and include the
complete output:
virt-resize -v -x [...]
It looks like the following upstream commit fixes the problem, but I didn't try to
apply it to the current version in Jessie :
https://github.com/libguestfs/libguestfs/commit/9d6f0b6a86d68438b27a3d783677c63f39ec6627
-- System Information:
Debian Release: 8.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-0.bpo.4-amd64 (SMP w/20 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages libguestfs-tools depends on:
ii libatk1.0-0 2.14.0-1
ii libc6 2.19-13
ii libcairo2 1.14.0-2.1
ii libconfig9 1.4.9-2
ii libfontconfig1 2.11.0-6.3
ii libfreetype6 2.5.2-2
ii libfuse2 2.9.3-15+b1
ii libgdk-pixbuf2.0-0 2.31.1-2+b1
ii libglib2.0-0 2.42.1-1
ii libgtk2.0-0 2.24.25-1
ii libguestfs-perl 1:1.28.1-1
ii libguestfs0 1:1.28.1-1
ii libintl-perl 1.23-1
ii liblzma5 5.1.1alpha+20120614-2+b3
ii libncurses5 5.9+20140913-1+b1
ii libpango-1.0-0 1.36.8-3
ii libpangocairo-1.0-0 1.36.8-3
ii libpangoft2-1.0-0 1.36.8-3
ii libpcre3 2:8.35-3.3
ii libreadline6 6.3-8+b2
ii libstring-shellquote-perl 1.03-1
ii libsys-virt-perl 1.2.9-2
ii libtinfo5 5.9+20140913-1+b1
ii libvirt0 1.2.9-8
ii libwin-hivex-perl 1.3.10-2+b1
ii libxml2 2.9.1+dfsg1-4
libguestfs-tools recommends no packages.
libguestfs-tools suggests no packages.
-- no debconf information
More information about the Pkg-libvirt-maintainers
mailing list