[Libguestfs] virt-df error, help

cuimingwen at incito.com.cn cuimingwen at incito.com.cn
Sat Dec 6 23:57:06 UTC 2014


Thanks  again,  but  when  I run  the command "sudo update-guestfs-appliance" 
 
the  result is "unpacking /tmp/superminef3fb7da4d1971287149691a8361ae0d.tmp/syslinux_3%3a4.05+dfsg-6+deb8u1_amd64.deb ... 
unpacking /tmp/superminef3fb7da4d1971287149691a8361ae0d.tmp/sysv-rc_2.88dsf-41ubuntu6_all.deb ... 
unpacking /tmp/superminef3fb7da4d1971287149691a8361ae0d.tmp/sysvinit-utils_2.88dsf-41ubuntu6_amd64.deb ... 
unpacking /tmp/superminef3fb7da4d1971287149691a8361ae0d.tmp/tar_1.27.1-1_amd64.deb ... 
unpacking /tmp/superminef3fb7da4d1971287149691a8361ae0d.tmp/tzdata_2014i-0ubuntu0.14.04_all.deb ... 
unpacking /tmp/superminef3fb7da4d1971287149691a8361ae0d.tmp/ucf_3.0027+nmu1_all.deb ... 
unpacking /tmp/superminef3fb7da4d1971287149691a8361ae0d.tmp/udev_204-5ubuntu20.9_amd64.deb ... 
unpacking /tmp/superminef3fb7da4d1971287149691a8361ae0d.tmp/upstart_1.12.1-0ubuntu4.2_amd64.deb ... 
unpacking /tmp/superminef3fb7da4d1971287149691a8361ae0d.tmp/util-linux_2.20.1-5.1ubuntu20.3_amd64.deb ... 
unpacking /tmp/superminef3fb7da4d1971287149691a8361ae0d.tmp/vim-common_2%3a7.4.052-1ubuntu3_amd64.deb ... 
unpacking /tmp/superminef3fb7da4d1971287149691a8361ae0d.tmp/vim-tiny_2%3a7.4.052-1ubuntu3_amd64.deb ... 
unpacking /tmp/superminef3fb7da4d1971287149691a8361ae0d.tmp/watershed_7_amd64.deb ... 
unpacking /tmp/superminef3fb7da4d1971287149691a8361ae0d.tmp/xkb-data_2.10.1-1ubuntu1_all.deb ... 
unpacking /tmp/superminef3fb7da4d1971287149691a8361ae0d.tmp/xz-utils_5.1.1alpha+20120614-2ubuntu2_amd64.deb ... 
unpacking /tmp/superminef3fb7da4d1971287149691a8361ae0d.tmp/zerofree_1.0.2-1ubuntu1_amd64.deb ... 
unpacking /tmp/superminef3fb7da4d1971287149691a8361ae0d.tmp/zfs-fuse_0.7.0-10.1_amd64.deb ... 
unpacking /tmp/superminef3fb7da4d1971287149691a8361ae0d.tmp/zlib1g_1%3a1.2.8.dfsg-1ubuntu1_amd64.deb ... 
9081 files and directories 
writing supermin.d/base.img ... 
writing supermin.d/hostfiles ..."

but  when I run "virt-df -d `virsh domuuid 5` " 
the  errors  are  also  still  ,  
incito at M06MYPY9:~$ virt-df -d `virsh domuuid 5` 
libguestfs: warning: supermin-helper -f checksum returned a short string 
libguestfs: error: cannot find any suitable libguestfs supermin, fixed or old-style appliance on LIBGUESTFS_PATH (search path: /usr/lib/guestfs) 
incito at M06MYPY9:~$ 

But  I  find  another  solution,   I  use “sudo virt-df  -d `virsh domuuid 5`"  ,  and  set  the  user  without  password (/etc/sudoers)  to  run the command .






 
From: Richard W.M. Jones
Date: 2014-12-05 16:51
To: cuimingwen at incito.com.cn
CC: libguestfs
Subject: Re: Re: virt-df error, help
On Fri, Dec 05, 2014 at 09:11:40AM +0800, cuimingwen at incito.com.cn wrote:
> thanks for  your reply,
>   When  I  set the debug  mode  and  run  "libguestfs-test-tool"  the  result  is:
[...]
> libguestfs: launch: version=1.24.5 
 
I'll assume this is an old Ubuntu version, in which case you need to
run:
 
  sudo update-guestfs-appliance
 
See: http://libguestfs.org/guestfs-faq.1.html#libguestfs:-error:-cannot-find-any-suitable-libguestfs-supermin-fixed-or-old-style-appliance-on-libguestfs_path
 
This is not required in newer versions of libguestfs.
 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20141207/77e3cb94/attachment.htm>


More information about the Libguestfs mailing list