[Libguestfs] virt-df -a xxx.qcow2 failure, after about ten minutes , failed
Richard W.M. Jones
rjones at redhat.com
Tue Dec 3 08:58:38 UTC 2019
On Mon, Dec 02, 2019 at 08:09:47PM +0800, thomas wrote:
> [ 0.000000] Linux version 3.10.0 (root at NSG) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) ) #1 SMP Fri Nov 1 10:40:29 UTC 2019
The kernel that fails isn't the Red Hat kernel, so I suppose it lacks
the right drivers or has some different configuration which breaks
libguestfs.
You can tell libguestfs to use a different kernel by setting the
SUPERMIN_KERNEL parameter and removing the /var/tmp/.guestfs-*
directory between runs. See the FAQ here:
http://libguestfs.org/guestfs-faq.1.html#broken-kernel-or-trying-a-different-kernel
For comparison the successful run is using the ordinary CentOS kernel:
[ 0.000000] Linux version 3.10.0-957.10.1.el7.x86_64 (mockbuild at kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) ) #1 SMP Mon Mar 18 15:06:45 UTC 2019
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/
More information about the Libguestfs
mailing list