[libvirt] libvirt can not get right stats of a rbd pool

Daniel P. Berrange berrange at redhat.com
Mon Oct 29 14:33:32 UTC 2012


On Fri, Oct 26, 2012 at 11:04:05AM +0800, yue wrote:
> Allocation exceed Capacity ,but Available  is  not 0.
>  
> #virsh pool-info 2361a6d4-0edc-3534-87ae-e7ee09199921
> Name:           2361a6d4-0edc-3534-87ae-e7ee09199921
> UUID:           2361a6d4-0edc-3534-87ae-e7ee09199921
> State:          running
> Persistent:     yes
> Autostart:      no
> Capacity:       285.57 GiB
> Allocation:     489.89 GiB
> Available:      230.59 GiB

Hmm, these values do look a little bit suspect, but I don't know
enough about RBD to suggest what might be going wrong. I'm copying
Wido who wrote this code originally & thus might have an idea.

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list