Virtual disk size associated with a Domain

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

 



Hello,
 
Is there any way to fetch the size of all the virtual disks associated with a Domain??
 
I could not find one in the libvirt API., I tried using 'virStorageVol' and 'virStoragePool', but they returned null objects.
Also I fetched 'virDomainBlockStats', but did not understand the information returned. i.e. 'rd_bytes' and 'wr_bytes'. Can we use this info for calculating the disk sizes?
 
Any method for finding this is welcome. using virt or xm or virsh command line tools also.
 
Also, What does the size of the "img" file for a Domain represent? Is it the disc size?
 
Please help.
 
Thanks and Regards
Sagar Barve
--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]