[Libguestfs] error in virt-resize

Keresztes Péter-Zoltán zozo at z0z0.tk
Thu Jan 7 12:12:37 UTC 2016


Here is the output of the commands

root at avaproxp02:~# ldd /sbin/parted
	linux-vdso.so.1 =>  (0x00007ffd151a1000)
	libparted.so.0 => /lib/x86_64-linux-gnu/libparted.so.0 (0x00007f23ded20000)
	libreadline.so.6 => /lib/x86_64-linux-gnu/libreadline.so.6 (0x00007f23dead9000)
	libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007f23de8af000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f23de524000)
	libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f23de31f000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f23de11a000)
	libdevmapper.so.1.02.1 => /lib/x86_64-linux-gnu/libdevmapper.so.1.02.1 (0x00007f23ddee0000)
	libblkid.so.1 => /lib/x86_64-linux-gnu/libblkid.so.1 (0x00007f23ddcb9000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f23defb3000)
	libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f23dda98000)
	libudev.so.0 => /lib/x86_64-linux-gnu/libudev.so.0 (0x00007f23dd889000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f23dd681000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f23dd464000)

I have no name!@(none):/# ldd /sbin/parted
	linux-vdso.so.1 =>  (0x00007fff83de7000)
	libparted.so.0 => not found
	libreadline.so.6 => /lib/x86_64-linux-gnu/libreadline.so.6 (0x00007fe3ab8e9000)
	libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007fe3ab6bf000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fe3ab334000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fe3abb32000)

rebuilding the appliance did not help at all.

> sudo update-guestfs-appliance

no such tool

regards
> On 07 Jan 2016, at 12:00, Richard W.M. Jones <rjones at redhat.com> wrote:
> 
> 
> I had some more ideas overnight:
> 
> (1) Check that libparted0 is installed on the *host*.
> 
> (2) Try to find out what libraries the parted binary requires on
> the host and appliance.  On the host:
> 
>  ldd /usr/bin/parted
> 
> On the appliance:
> 
>  virt-rescue --scratch
>> <rescue> ldd /usr/bin/parted
> 
> (3) Remove the appliance and recreate it:
> 
>  rm -rf /var/tmp/.guestfs-*
>  libguestfs-test-tool
> 
> (4) As this is ancient Debian, try rebuilding the supermin appliance:
> 
>  sudo update-guestfs-appliance
> 
> 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