can you post vmid.conf of restored vm and new vm ?
Thanks for your reply.
This is the conf of the vm with working snapshots (created on unencryptet Proxmox, backupped and restored on encrypted Proxmox):
________________________________________________________________
bootdisk: virtio0
cores: 1
ide2: local:iso/ubuntu-14.04.1-server-i386.iso,media=cdrom
memory: 512
name: ubuntu-pve
net0: virtio=82:FC:F3:BB:8E:61,bridge=vmbr0
numa: 0
ostype: l26
parent: test2
smbios1: uuid=55e1e400-e01e-4f38-87f7-2271ff9b928b
sockets: 1
virtio0: local:7002/vm-7002-disk-1.qcow2,format=qcow2,cache=writeback,size=32G
[test]
bootdisk: virtio0
cores: 1
ide2: local:iso/ubuntu-14.04.1-server-i386.iso,media=cdrom
machine: pc-i440fx-2.2
memory: 512
name: ubuntu-pve
net0: virtio=82:FC:F3:BB:8E:61,bridge=vmbr0
numa: 0
ostype: l26
smbios1: uuid=55e1e400-e01e-4f38-87f7-2271ff9b928b
snaptime: 1429993401
sockets: 1
virtio0: local:7002/vm-7002-disk-1.qcow2,format=qcow2,cache=writeback,size=32G
vmstate: local:7002/vm-7002-state-test.raw
[test2]
bootdisk: virtio0
cores: 1
ide2: local:iso/ubuntu-14.04.1-server-i386.iso,media=cdrom
machine: pc-i440fx-2.2
memory: 512
name: ubuntu-pve
net0: virtio=82:FC:F3:BB:8E:61,bridge=vmbr0
numa: 0
ostype: l26
parent: test
smbios1: uuid=55e1e400-e01e-4f38-87f7-2271ff9b928b
snaptime: 1431418976
sockets: 1
virtio0: local:7002/vm-7002-disk-1.qcow2,format=qcow2,cache=writeback,size=32G
vmstate: local:7002/vm-7002-state-test2.raw
________________________________________________________________
This is the conf of the vm with failing snapshots (created on encrypted Proxmox)
________________________________________________________________
bootdisk: virtio0
cores: 2
ide2: local:iso/ubuntu-14.04.1-server-i386.iso,media=cdrom
memory: 1024
name: test2
net0: virtio=C6:01:12:06:A3:95,bridge=vmbr0
numa: 0
ostype: l26
smbios1: uuid=b068216e-03e8-4bd7-ac25-5abd1875d9a8
sockets: 1
virtio0: local:7005/vm-7005-disk-1.qcow2,format=qcow2,cache=writeback,size=32G
________________________________________________________________
Looking at these files I tried something new:
As the vm with working snapshots has only 1 core and 512 MB RAM I altered the setting to 2 cores and 1024 MB (so that they match the settings of the failing vm) and suddenly also on this vm snapshots failed.
I played around with the settings and found out that snapshots always fail when the vm has more than 512 MB and/or more than 1 core. When I go back to the original settings snapshots work again.
Then I altered the setting on the other vm (created on the encrypted Proxmox) to 512 MB and 1 core and voilà: Now the snapshots work.
In other words: The failure of snapshots on an encrypted Proxmox is somehow related to the number of cores and the size of memory.