Cannot delete snapshot because not findable.

Xela

Well-Known Member
Oct 12, 2017
92
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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!