0

I created a snapshot of an instance on OpenStack using the web interface Horizon. I see that the image size is 59.5 GB:

enter image description here

enter image description here

I am surprised because the instance's disk was pretty empty:

enter image description here

and the RAM mostly unused:

enter image description here

How comes the image size is so large in comparison with the disk/RAM usage? (59.5 GB)

This instance size was was pretty big: 16core | 64GB RAM | 16 VCPU | 64.0GB Disk. Is the the image size impacted by the instance size, and if so why?

1 Answer 1

1

Try running the virt-sparsify tool from libguestfs on a copy of the image. If (as I suspect) it makes the image radically smaller, that would confirm your theory, that the total size of the instance disk is impacting the image size, rather than the amount of space actually used for files.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .