Qemurestore error (cannot obtain exclusive lock) on new Ceph Cluster

yena

Renowned Member
Nov 18, 2011
379
5
83
Hello,
When i try to restore a vzdump backup of a Win Quemu VM on a different Ceph cluster i have this error:

qmrestore -storage kvm Windows-2012Srv-VLK-QuemuAgent-qemu.vma 1005
restore vma archive: vma extract -v -r /var/tmp/vzdumptmp22513.fifo /rpool/vz/dump/Windows-2012Srv-VLK-QuemuAgent-qemu.vma /var/tmp/vzdumptmp22513
CFG: size: 392 name: qemu-server.conf
DEV: dev_id=1 size: 268435456000 devname: drive-virtio0
CTIME: Mon Apr 3 17:47:19 2017
new volume ID is 'kvm:vm-1005-disk-1'
map 'drive-virtio0' to 'rbd:kvm/vm-1005-disk-1:mon_host=10.10.10.1;10.10.10.2;10.10.10.3:id=admin:auth_supported=cephx:keyring=/etc/pve/priv/ceph/kvm.keyring' (write zeros = 0)
progress 1% (read 2684354560 bytes, duration 14 sec)
progress 2% (read 5368709120 bytes, duration 28 sec)
progress 3% (read 8053063680 bytes, duration 43 sec)
progress 4% (read 10737418240 bytes, duration 49 sec)
progress 5% (read 13421772800 bytes, duration 62 sec)

** (process:22514): ERROR **: restore failed - short vma extent (2146816 < 3801600)
cannot obtain exclusive lock - not removing
Removing image: 0% complete...failed.
rbd: error: image still has watchers
unable to cleanup 'kvm:vm-1005-disk-1' - rbd rm 'vm-1005-disk-1' error: rbd: error: image still has watchers
command 'vma extract -v -r /var/tmp/vzdumptmp22513.fifo /rpool/vz/dump/Windows-2012Srv-VLK-QuemuAgent-qemu.vma /var/tmp/vzdumptmp22513' failed: got signal 5


Any ideas?
Thanks
 

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!