Libguestfs-tools Not Working
In CentOS 6 with KVM, I have libguestfs-tools installed, but the
“virt-xxx” tools like “virt-df” just give, “libguestfs: error: cannot find any suitable libguestfs supermin, fixed or old-style appliance on LIBGUESTFS_PATH (search path: /usr/lib64/guestfs)”. What am I missing?
All the guests boot and run OK. I just can’t get these tools to work.
libguestfs-tools-1.20.11-11.el6.x86_64
libguestfs-tools-c-1.20.11-11.el6.x86_64
$ ls -lR /usr/lib64/guestfs
/usr/lib64/guestfs:
total 4
drwxr-xr-x. 2 root root 4096 Dec 3 13:16 supermin.d
/usr/lib64/guestfs/supermin.d:
total 7020
-rw-r–r–. 1 root root 5171200 Oct 17 11:50 base.img
-rw-r–r–. 1 root root 1858048 Oct 17 11:50 daemon.img
-rw-r–r–. 1 root root 139401 Oct 17 11:50 hostfiles
-rw-r–r–. 1 root root 4608 Oct 17 11:50 init.img
-rw-r–r–. 1 root root 2048 Oct 17 11:50 udev-rules.img
3 thoughts on - Libguestfs-tools Not Working
Well, I still don’t know what the real cause was, but rebooting has fixed it. And no, restarting the libvirtd service had no effect.
If anyone has any ideas about what might have happened, I’d still like to hear them.
You may be better off with the RHEL / CentOS 7.1 libguestfs packages which are available as a preview. This is a substantial rebase with many more features and somewhat faster too. Follow the instructions here:
https://www.redhat.com/archives/libguestfs/2014-May/msg00090.html
Rich.
Thanks for the offer, but (a) a reboot got it working, and (b) to get that into CentOS 6 I would have to rebuild from source. The dependency chain would essentially require me to upgrade to CentOS 7, and I have no intention of doing that.