Shrink Qcow2 images by removing snapshots
Submitted by itefix on Mon, 02/01/2023 - 00:39
- Make sure that the domain using the qcow2 image is stopped.
- List available snapshots in the qcow2 image:
qemu-img snapshot -l /var/lib/libvirt/images/vm1.qcow2
- Delete snapshots from the image:
qemu-img snapshot -d "snapshot name a" /var/lib/libvirt/images/vm1.qcow2
.....
qemu-img snapshot -d "snapshot name n" /var/lib/libvirt/images/vm1.qcow2
- Shrink the qcow2 image:
qemu-img convert -O qcow2 /var/lib/libvirt/images/vm1.qcow2 /var/lib/libvirt/images/vm1_small.qcow2
Release announcements
- 2024-03-13 Copssh client 7.14.1
- 2024-03-13 cwRsync client 6.2.12
- 2024-03-11 Copssh server 8.5.0
- 2024-03-11 Copssh server 7.17.0
- 2024-03-11 Copssh client 7.14.0