Cannot delete Snapshot

Stone

Renowned Member
Nov 18, 2016
44
4
73
42
Hi.

I have a VM with three disks and on one disk i found a snapshot without a tag.
I know i can delete a snapshot with qemu-img snapshot -d <tag> <file> but i have no tag on this snapshot.
Is there a way to delete this one?

Code:
root@hostname01:/mnt/pve/GlusterVol03/images/103# qemu-img snapshot -l vm-103-disk-1.qcow2_bkp
Snapshot list:
ID        TAG                 VM SIZE                DATE       VM CLOCK
                                    0 1970-01-01 01:00:00   00:00:00.000

Thank you.
 
The date of the snapshot is set to Unix Epoch 0 and the VM clock also reports 0 - I'd wager this is a broken snapshot or an error in the output. Maybe try running 'qemu-img check' on the qcow2 file to ensure it is still valid/consistent? Otherwise you might just have a broken image, if the data in it is correct I'd recommend transfering it into a new file (e.g. 'qm move_disk' or 'qemu-img dd' into a new one) to be sure.