Hi
I am conducting some testing of storage-based snapshots using Proxmox with NFS.
Proxmox version: 8.4.1.
While copying back a storage snapshot of a qcow2 image file to an existing VM (while in shutdown state) I can see different VM snapshot inventories depending on tools being used.
The restored file contains 2 snapshots while the overwritten image contained only 1.
Proxmox GUI and qm command show different result compared to qemu-img command.
Since the qcow2 snapshots are "internal" (inbedded within the disk image file) I assume the result from qemu-img is the correct one since this is actively processing the file.
So the question is: Where does Proxmox/qm command get its percieved list of snapshots from? It seems like data stored or cached somewhere.
Rebooting the Proxmox node doesn't change the output.
Output from qm command
root@pmx01:/mnt/pve/nfs1# qm listsnapshot 100
`-> snap2 2025-06-24 10:47:34 no-description
`-> current You are here!
Output from qemu-img command
root@pmx01:/mnt/pve/nfs1# qemu-img snapshot -l images/100/vm-100-disk-0.qcow2
Snapshot list:
ID TAG VM_SIZE DATE VM_CLOCK ICOUNT
1 snap1 0 B 2025-06-24 10:33:43 0000:14:44.484 --
2 snap2 0 B 2025-06-24 10:47:34 0000:00:00.000 0
root@pmx01:/mnt/pve/nfs1#
Best regards,
Mikkel
I am conducting some testing of storage-based snapshots using Proxmox with NFS.
Proxmox version: 8.4.1.
While copying back a storage snapshot of a qcow2 image file to an existing VM (while in shutdown state) I can see different VM snapshot inventories depending on tools being used.
The restored file contains 2 snapshots while the overwritten image contained only 1.
Proxmox GUI and qm command show different result compared to qemu-img command.
Since the qcow2 snapshots are "internal" (inbedded within the disk image file) I assume the result from qemu-img is the correct one since this is actively processing the file.
So the question is: Where does Proxmox/qm command get its percieved list of snapshots from? It seems like data stored or cached somewhere.
Rebooting the Proxmox node doesn't change the output.
Output from qm command
root@pmx01:/mnt/pve/nfs1# qm listsnapshot 100
`-> snap2 2025-06-24 10:47:34 no-description
`-> current You are here!
Output from qemu-img command
root@pmx01:/mnt/pve/nfs1# qemu-img snapshot -l images/100/vm-100-disk-0.qcow2
Snapshot list:
ID TAG VM_SIZE DATE VM_CLOCK ICOUNT
1 snap1 0 B 2025-06-24 10:33:43 0000:14:44.484 --
2 snap2 0 B 2025-06-24 10:47:34 0000:00:00.000 0
root@pmx01:/mnt/pve/nfs1#
Best regards,
Mikkel
Last edited: