[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] virt-df for KVM




Dear man:
        I am glad to hear from you。THANK YOU VERY MUCH! 
        I will work hard to be a man like you though i am not a smart man.
                                                                                              zhangxinsheng
                                                                                                 20191217
On 12/1/2019 00:23Richard W.M. Jones<rjones redhat com> wrote:
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-opened

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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]