[Libguestfs] Having issues with virt-sparsify

Richard W.M. Jones rjones at redhat.com
Thu Feb 1 22:32:17 UTC 2018


On Thu, Feb 01, 2018 at 08:13:36PM +0000, Simon Ruzgar wrote:
> libguestfs: launch: version=1.24.5
...
> /usr/bin/supermin-helper: ext2: parent directory not found: /lib: File not found by ext2_lookup

This is quite an old version of libguestfs/supermin, and we've fixed a
lot of bugs in this area since then.

If you cannot upgrade to a recent version then I suggest running
supermin-helper with lots more verbosity to see exactly what file it's
failing on:

> libguestfs: command: run: /usr/bin/supermin-helper
> libguestfs: command: run: \ --verbose
> libguestfs: command: run: \ --copy-kernel
> libguestfs: command: run: \ -f ext2
> libguestfs: command: run: \ --host-cpu x86_64
> libguestfs: command: run: \ /usr/lib/guestfs/supermin.d
> libguestfs: command: run: \ --output-kernel /var/tmp/guestfs.jgjlPT/kernel
> libguestfs: command: run: \ --output-initrd /var/tmp/guestfs.jgjlPT/initrd
> libguestfs: command: run: \ --output-appliance /var/tmp/guestfs.jgjlPT/root

/usr/bin/supermin-helper -v -v -v --copy-kernel -f ext2 --host-cpu x86_64 /usr/lib/guestfs/supermin.d --output-kernel /var/tmp/kernel --output-initrd /var/tmp/initrd --output-appliance /var/tmp/root

Hopefully it should give a bit more information.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v




More information about the Libguestfs mailing list