Re: Xen/KVM guest disk sizes

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

 



No specific virsh command or API to do this work.

However, you could check it by:

virsh # vol-info /var/lib/libvirt/images/f14.img
Name:           f14.img
Type:           file
Capacity:       8.00 GB
Allocation:     8.00 GB

virsh # vol-info /var/lib/libvirt/images/mytest.qcow2
Name:           mytest.qcow2
Type:           file
Capacity:       10.00 MB
Allocation:     136.00 KB

Regards
Osier
于 2011年01月05日 00:44, Tavares, John 写道:
I was wondering if there is any way from either the virsh CLI or the
libvirt API (preferably virsh) to get the amount of disk space to get
the amount of disk space each guest has been assigned??



_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users


[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux