I have a qcow2 image. The image size is 200 GB, but the actual use is only 30 GB.
I'm using qemu-img convert -O qcow2 source.qcow2 shrunk.qcow2
to removes sparse space and the images shrinks correctly to 30 GB.
This image has internal snapshots taken using virt-manager. After converting the image, the snapshots is lost.
Is there any way to removes unused space from the image but still keep internal snapshots?
Asked
Active
Viewed 110 times
1
![](../../users/profiles/622971.webp)
leanhtai01
- 11
- 2