Re: vol-info showing old disk size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2014-09-12 17:26 GMT+02:00 John Ferlan <jferlan@xxxxxxxxxx>:
>
> On 09/12/2014 07:57 AM, Zero Uno wrote:

> > The enlarged disk is working fine, and the size is correctly detected
> > and used in the virtual machine.
> > But "virsh vol-info /path/to/imagefile" still shows the old size and
> > allocation. Is there a way to "fix" this, i.e. making virsh aware of the
> > new size?
>
> Type of volume/pool? Version? Platform?  Need just a few more details....

Hi, sorry for replying so late.
Michal's suggestion (virsh pool-refresh $pool) actually fixed my
problem, vol-info now shows the new capacity and allocation values.

Before trying his suggestion, I noticed that it was showing the old
capacity (10.00 GiB) but it did show the new, larger, allocation
(31,77 GiB), which doesn't make much sense. When I wrote the request
to this list it was still showing the old allocation, too.

Anyway, just for the record: the pool is of type "dir", the volume is
in qcow2 format, the platform is Fedora 19 and here is the version
output:

# virsh version
Compiled against library: libvirt 1.0.5
Using library: libvirt 1.0.5
Using API: QEMU 1.0.5
Running hypervisor: QEMU 1.4.2

Thanks.
Marco

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users




[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux