On Fri, Jul 11, 2014 at 03:00:54PM +0300, Gleb Voronich wrote:
Hello,
I've been trying to clone one disk image (LVM) to another using virt-resize.
Unfortunately I get the following error:
# virt-resize /dev/vm/vm6 /dev/vm/vm7
supermin helper [00004ms] finished creating kernel
supermin helper [00251ms] finished mke2fs
<domain type='kvm'>
supermin helper [00252ms] visiting /usr/lib64/guestfs/supermin.d
supermin helper [00252ms] visiting /usr/lib64/guestfs/supermin.d/base.img.gz
supermin helper [03505ms] visiting
/usr/lib64/guestfs/supermin.d/daemon.img.gz
supermin helper [03527ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles
libguestfs: trace: launch = -1 (error)
Fatal error: exception Guestfs.Error("supermin-helper exited with
error status 1, see debug messages above")
libguestfs: trace: close
Is there any known issue that could cause this?
I have CentOS 7.0.1406 at the host node at CentOS 6.5 at the guest.
Yes, sorry, this is a known bug in the CentOS 7 libguestfs package.
See:
https://www.redhat.com/archives/libguestfs/2014-July/msg00036.html
for a couple of workarounds.
Karanbir, should I file a bug about this?
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top