Snapshots failed for every VM "dataset already exists"

christianhoh

New Member
Mar 16, 2022
3
0
1
29
Hi
since 2 weeks i cant create any snapshots for any VM i created on my proxmox server.
I dont know what to do because running the snapshot in GUI or CLI results in
zfs error: cannot create snapshot 'SSD_ZFS/vm-<ANY_ID_HERE>-disk-0@<CHOOSE_ANY_SNAPSHOTNAME_HERE>': dataset already exists

Even new created VMs without any snapshots produce this error.

So has anyone a idea?
Thank you
 
Hi
since 2 weeks i cant create any snapshots for any VM i created on my proxmox server.
I dont know what to do because running the snapshot in GUI or CLI results in
zfs error: cannot create snapshot 'SSD_ZFS/vm-<ANY_ID_HERE>-disk-0@<CHOOSE_ANY_SNAPSHOTNAME_HERE>': dataset already exists

Even new created VMs without any snapshots produce this error.

So has anyone a idea?
Thank you
Hi,
according to this [0] bug report, this can happen if you have overlapping snapshot creation tasks. Can you check if there is another snapshot task running?

[0] https://github.com/zfsonlinux/zfs-auto-snapshot/issues/118
 
Hi thank you for the answer.
I am shure there are no other snapshot tasks running.
Also currently are no snapshots of any machine present.
 
In order to narrow the issue down, please provide the output of:
  • zfs list -t snapshot
  • zpool status
  • full log of snapshot creation task
  • journalctl -b > journal.txt, by appending the generated journal.txt here
 
I started some "investigation" and the error only appears with vms that are created with terraform. A "normal" template clone works like a charme in aspects of the snapshots.