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

2011-01-04 Thread Osier Yang
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: m

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

2011-01-04 Thread 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 shoul

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

2011-01-04 Thread Tavares, John
Hi Justin, Is there a particular version of virsh/libvirt needed for this?? Thanks. John -Original Message- From: Justin Clift [mailto:jcl...@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 d

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

2011-01-04 Thread Justin Clift
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 " command do what you want? Regards and best wishes, Justin Clift

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

2011-01-04 Thread Tavares, John
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

[libvirt-users] Xen/KVM guest disk sizes

2011-01-04 Thread 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@redhat.com h

Re: [libvirt-users] autostarting storage pool

2011-01-04 Thread Matthias Bolte
2011/1/4 Marcin Krol : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hello everyone, > > How do I make storage pool auto start? > > I have: > > virsh # pool-list > Name                 State      Autostart > - - > default              active     yes >

[libvirt-users] autostarting storage pool

2011-01-04 Thread Marcin Krol
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello everyone, How do I make storage pool auto start? I have: virsh # pool-list Name State Autostart - - default active yes virtimages active no I don't s

Re: [libvirt-users] availability of snapshots functionality via Python bindings

2011-01-04 Thread Chris Lalancette
On 01/04/11 - 01:04:55PM, Marcin Krol wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Chris Lalancette wrote: > > Snapshot support is indeed in the libvirt python bindings already, but you > > are using an *ancient* version. You need at least libvirt 0.8.2 to get > > snapshot support

Re: [libvirt-users] availability of snapshots functionality via Python bindings

2011-01-04 Thread Marcin Krol
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Lalancette wrote: > Snapshot support is indeed in the libvirt python bindings already, but you > are using an *ancient* version. You need at least libvirt 0.8.2 to get > snapshot support. Thanks! That's what I needed to know. Regarding snapsho