[libvirt-users] Xen/KVM guest disk sizes

Osier Yang jyang at redhat.com
Wed Jan 5 05:53:15 UTC 2011


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 at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-users




More information about the libvirt-users mailing list