Re: [libvirt-users] Xen/KVM guest disk sizes

Lastly, if there is no way to get this information from virsh and/or libvirt, is there a way to figure it out any other way?? Thanks. John ________________________________ From: Tavares, John Sent: Tuesday, January 04, 2011 11:44 AM To: 'libvirt-users@redhat.com' Cc: Tavares, John; Betley, Greg; Tomen Tse; 'Daniel P. Berrange' Subject: Xen/KVM guest disk sizes 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??

On 05/01/2011, at 3:53 AM, Tavares, John wrote:
Lastly, if there is no way to get this information from virsh and/or libvirt, is there a way to figure it out any other way??
Hi John, Does the virsh "vol-list --details <disk_image_name>" command do what you want? Regards and best wishes, Justin Clift

Hi Justin, Is there a particular version of virsh/libvirt needed for this?? Thanks. John -----Original Message----- From: Justin Clift [mailto:jclift@redhat.com] Sent: Tuesday, January 04, 2011 12:00 PM To: Tavares, John Cc: libvirt-users@redhat.com Subject: Re: [libvirt-users] Xen/KVM guest disk sizes On 05/01/2011, at 3:53 AM, Tavares, John wrote:
Lastly, if there is no way to get this information from virsh and/or libvirt, is there a way to figure it out any other way??
Hi John, Does the virsh "vol-list --details <disk_image_name>" command do what you want? Regards and best wishes, Justin Clift

On 05/01/2011, at 4:05 AM, Tavares, John wrote:
Hi Justin,
Is there a particular version of virsh/libvirt needed for this??
Hi John, Good point. The --details option was added to vol-list from libvirt 0.8.3. If the version of libvirt you're using is older than that, from memory you should be able to get the same info (one volume at a time) using vol-info. Does that work for you? Regards and best wishes, Justin Clift
participants (2)
-
Justin Clift
-
Tavares, John