On Sat, Nov 30, 2019 at 06:49:29PM +0800, zxs11289 wrote:
I face a problem on KVM using virt-df。 I have two computer,they
have installed tools for KVM. The computer(ip 15)has no virtual
machine and computer(ip 33)has two virtual machines。on the
computer(ip33), i run the command “virt-df” if on the computer(ip15),
i run the command “virt-df --connect qemu+ssh://10.0.0.33/system”,
ERROR:No such file or directory。But i have the file。why?
Unfortunately the --connect parameter doesn't let you access a disk on
a remote machine:
http://libguestfs.org/guestfs-faq.1.html#remote-libvirt-guests-cannot-be-...
It's not really possible the way you are doing it now. You will have
to run virt-df on the local machine. Perhaps use a tool like Ansible
(
https://www.ansible.com/)?
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW