[Libguestfs] guestmount - unable to get device geometry

Richard W.M. Jones rjones at redhat.com
Tue Dec 6 17:39:39 UTC 2011


On Tue, Dec 06, 2011 at 06:44:51PM +0200, Evaggelos Balaskas wrote:
> Hi,
> 
> i am trying to use libguestfs (libvirt/kvm etc) into archlinux.

I think there is a warning and possible two different errors here.

> But it seems that i am keep getting this error
> 
> warning: Unable to get device geometry for /var/tmp/guestfs.NwkQVJ/root

This seems to be a warning, but it's unexpected.  What version of qemu
is this?

> In the attached file, i've written some debug info.
> If someone can give me some pointer, i would appreciate it
[...]
> guestfsd: error while loading shared libraries: libaugeas.so.0: cannot open shared object file: No such file or directory

We're not copying libaugeas.* into the appliance for some reason.
Could be a bug in febootstrap.

What does this say?

  grep augeas appliance/supermin.d/hostfiles

If the supermin appliance was built correctly, it should list all the
files and symbolic links required to have libaugeas.* in the
appliance.

(ref: http://libguestfs.org/febootstrap.8.html#supermin_appliances )

> $ ldd guestfsd
> 	linux-gate.so.1 =>  (0xb773a000)
> 	libaugeas.so.0 => /usr/local/lib/libaugeas.so.0 (0xb76f6000)
> 	libfa.so.1 => /usr/local/lib/libfa.so.1 (0xb76e5000)
> 	librt.so.1 => /lib/librt.so.1 (0xb76c1000)
> 	libc.so.6 => /lib/libc.so.6 (0xb7545000)
> 	libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb741d000)
> 	libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb7400000)
> 	libpthread.so.0 => /lib/libpthread.so.0 (0xb73e5000)
> 	/lib/ld-linux.so.2 (0xb773b000)
> 	libdl.so.2 => /lib/libdl.so.2 (0xb73e0000)
> 	libz.so.1 => /usr/lib/libz.so.1 (0xb73c8000)
> 	libm.so.6 => /lib/libm.so.6 (0xb739d000)
> 
> $ file /usr/local/lib/libaugeas.so.0
> /usr/local/lib/libaugeas.so.0: symbolic link to `libaugeas.so.0.15.0'
> 
> $ ldd /usr/local/lib/libaugeas.so.0.15.0 
> 	linux-gate.so.1 =>  (0xb7865000)
> 	libfa.so.1 => /usr/local/lib/libfa.so.1 (0xb7810000)
> 	libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb76ce000)
> 	libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb76b1000)
> 	libc.so.6 => /lib/libc.so.6 (0xb7535000)
> 	libdl.so.2 => /lib/libdl.so.2 (0xb752f000)
> 	libz.so.1 => /usr/lib/libz.so.1 (0xb7517000)
> 	libm.so.6 => /lib/libm.so.6 (0xb74ed000)
> 	/lib/ld-linux.so.2 (0xb7866000)

The error below may also indicate a problem, but I'd concentrate on
getting the above working first.

> /init: line 132: /sbin/reboot: No such file or directory

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw




More information about the Libguestfs mailing list