[fedora-virt] Internal Snapshots & Used-Space

Eric Blake eblake at redhat.com
Wed Oct 9 16:02:58 UTC 2013


On 10/09/2013 08:34 AM, Jorge Fábregas wrote:
> Hi,
> 
> I'm using the new snapshot features of virt-manager and since these are
> internal snapshots I'm wondering how to figure out how much space a
> given snapshot is currently using.
> 
> Previously I used base-images+overlays and I could just check the size
> of the overlay file to get an idea.  If I use "qemu-img info" on my
> current disks (the ones with internal snapshots) there's a "VM size"
> column there but it shows 0 for offline snapshots.
> 
> Is there a way to get the actual used-space for an internal snapshot?

Not via libvirt.  I'm not even sure if qemu-img can do that yet,
although the new 'qemu-img map' subcommand to be added in qemu 1.7 might
be the sort of tool for it.  It's probably worth asking on the qemu list.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/virt/attachments/20131009/389a49ee/attachment.sig>


More information about the virt mailing list