Hello,
I am having this problem and could not find any hint on this forum. I have also googled for a while without success.
I have a proxmox server 2.X with a few VMs running on it. Now I want to move the VMs to a 5.X Proxmox server. I did the following:
- create a backup on the old server using vzdump
- restore the backup on the new server using qmrestore as follows:
qmrestore /backup/vzdump-qemu-123-2019_11_04-18_35_26.tar.lzo 103 --unique --storage local
However qmrestore gave this error message:
VM is locked (create)
and the disk was not imported. I tried with various storage ids and vm ids, same result. The vm was created but without disk.
The backup is a tar file consisting of these files:
qemu-server.conf
vm-disk-virtio0.raw
and the content of qemu-server.conf is:
# cat qemu-server.conf
args: -vnc 127.0.0.1:3123,
boot: cdn
bootdisk: virtio0
cores: 2
ide2: cdrom,media=cdrom
lock: backup
memory: 512
name: bcv
net0: virtio=26:E1:90:0C:C6:2C,bridge=vmbr0
onboot: 1
ostype: l26
sockets: 1
virtio0: shared-storage-on-drbd:vm-123-disk-1
#vzdump#map:virtio0:vm-disk-virtio0.raw:8589934592:shared-storage-on-drbd:
Any hint what I can try?
Regards,
Tony
I am having this problem and could not find any hint on this forum. I have also googled for a while without success.
I have a proxmox server 2.X with a few VMs running on it. Now I want to move the VMs to a 5.X Proxmox server. I did the following:
- create a backup on the old server using vzdump
- restore the backup on the new server using qmrestore as follows:
qmrestore /backup/vzdump-qemu-123-2019_11_04-18_35_26.tar.lzo 103 --unique --storage local
However qmrestore gave this error message:
VM is locked (create)
and the disk was not imported. I tried with various storage ids and vm ids, same result. The vm was created but without disk.
The backup is a tar file consisting of these files:
qemu-server.conf
vm-disk-virtio0.raw
and the content of qemu-server.conf is:
# cat qemu-server.conf
args: -vnc 127.0.0.1:3123,
boot: cdn
bootdisk: virtio0
cores: 2
ide2: cdrom,media=cdrom
lock: backup
memory: 512
name: bcv
net0: virtio=26:E1:90:0C:C6:2C,bridge=vmbr0
onboot: 1
ostype: l26
sockets: 1
virtio0: shared-storage-on-drbd:vm-123-disk-1
#vzdump#map:virtio0:vm-disk-virtio0.raw:8589934592:shared-storage-on-drbd:
Any hint what I can try?
Regards,
Tony