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