[libvirt-users] pool info is not updated until pool refresh is run.

Sharad Mishra snmishra at us.ibm.com
Fri Dec 17 19:03:51 UTC 2010


Hi,

   Creating a volume does not update pool information until pool-refresh is
run. Here is an example  -

# virsh vol-create ShareStorage /tmp/vol.xml
Vol sm_disk.dsk created from /tmp/vol.xml

#  virsh pool-info ShareStorage
Name:           ShareStorage
UUID:           3ab7dbd5
State:          running
Capacity:       58.57 GB
Allocation:     4.91 GB
Available:      53.66 GB

# virsh vol-info /var/lib/libvirt/test/sm_disk.dsk
Name:           sm_disk.dsk
Type:           file
Capacity:       97.66 GB
Allocation:     95.47 MB

# virsh pool-refresh  ShareStorage
Pool ShareStorage refreshed

# virsh pool-info ShareStorage
Name:           ShareStorage
UUID:           3ab7dbd5
State:          running
Capacity:       58.57 GB
Allocation:     5.01 GB
Available:      53.57 GB


Why  pool-refresh is required to update pool-info?

Thanks,
Sharad Mishra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20101217/14a0ada5/attachment.htm>


More information about the libvirt-users mailing list