Cannot delete snapshot because not findable.

Xela

Well-Known Member
Oct 12, 2017
98
2
48
upload_2018-7-17_1-58-21.png
Dear Forum, the snapshot 'Secure' shows the state 'delete'. I tried to delete that snapshot, but I get:
qemu-img: Could not delete snapshot 'Secure': Can't find the snapshot
TASK ERROR: command '/usr/bin/qemu-img snapshot -d Secure /var/lib/vz/images/100/vm-100-disk-1.qcow2' failed: exit code 1

How do I delete that snapshot?
 
Hi,

please check if the snapshot exsists on the disk
Code:
qemu-img snapshot -l /var/lib/vz/images/100/vm-100-disk-1.qcow2
 
Dear Wolfgang,
thank you for your help. The result of that code is:

Snapshot list:
ID TAG VM SIZE DATE VM CLOCK
4 Ready 0 2017-11-21 16:46:20 00:00:00.000
15 Mitte_Juli 0 2018-07-17 00:14:16 00:00:00.000

Best regards
Alex
 
You can remove the snapshot from the config file if that is the only disk of the VM.
The config is located /etc/pve/qemu/100.conf
 
Thank's for the fast response. Do you recommend a backup of that VM before removing?

Best regards
Alex
 
Do you recommend a backup of that VM before removing?
A Backup is never wrong ;-)

But in this case, a Backup of the config would enough.
You just have to remove the snapshot description in the config.
This change nothing on the data base.