RFE: More info in qemu-img info/check
Originally filed in Fedora bugzilla: https:/
qemu-img info currently give me info like this:
file format: qcow2
virtual size: 11G (11794287616 bytes)
disk size: 4.5G
In order to figure out the "health" of an image there is some more information I would like:
in-use disk size - I.e the subset of disk size that is not marked as unused due to e.g. TRIM operations
amount of compressed clusters. I.e. "is it useful to re-compress the image".
This would be useful to both sysadmins in general and for automated things like
what we want to do in gnome-boxes:
As mentioned in the original report, qemu-img check currently has fragmentation stats, but only for QED.