Removing snapshots not possible

JohnD

Renowned Member
Oct 7, 2012
83
12
73
Hello everybody,

i have a Proxmox 5.1 server running and i want to remove snapshots of a VM that makes a lot of trouble.

I tried to do it with the eve4pve-autosnap clean function but my server crashed and now i have a lot of snapshots in proxmox without existing ZFS snapshots.

How can i get rid of these snapshots?

I always get:
Code:
Task viewer: VM 103 - Delete Snapshot

OutputStatus

Stop
TASK ERROR: zfs error: could not find any snapshots to destroy; check snapshot names.

Thanks in advance...
 
eve4pve-autosnap is not part of PVE and thus not supported here..
 
Ok then just think of a slightly different situation.
I created a snapshot with proxmox gui and accidentally deleted the zfs snapshot.
How can i get rid of the proxmox snapshot entry?
 
Code:
# pct help delsnapshot
USAGE: pct delsnapshot <vmid> <snapname> [OPTIONS]

  Delete a LXC snapshot.

  <vmid>     <integer> (1 - N)

             The (unique) ID of the VM.

  <snapname> <string>

             The name of the snapshot.

  -force     <boolean>

             For removal from config file, even if removing disk snapshots
             fails.

Code:
# qm help delsnapshot
USAGE: qm delsnapshot <vmid> <snapname> [OPTIONS]

  Delete a VM snapshot.

  <vmid>     <integer> (1 - N)

             The (unique) ID of the VM.

  <snapname> <string>

             The name of the snapshot.

  -force     <boolean>

             For removal from config file, even if removing disk snapshots
             fails.
 
  • Like
Reactions: MrThiemann
Had this same issue recently; turned out that it was still in config file. The result ended up looking like
Code:
qm delsnapshot 101 Test_snapshot -force true
 

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!