can't lock file '/var/lock/qemu-server/lock-103.conf' - got timeout

Rajan shrestha

New Member
Oct 29, 2023
Hello team.
Greeting from Rajan shrestha-Nepal,

Issues: unable to lock file on /var/lock/qemu-server/lock-103.conf error seen while VM config file moved to another node.

I have moved the /etc/pve/nodes/A/qemu-server/103.conf file of node A to node B on /etc/pve/nodes/B/qemu-server/103.conf.
File was moved and VM also seen on another node. but unable to start as it shows the above following error.

steps taken:
i) Stop the VM on previous node.
ii) Conf file moved to another node.
iii) qm start Vm_id.
iv) qm unlock vm-id.
v) check removing the lock file as lock-<vm-id>.conf file on /var/lock/qemu-server/ on both node too.
vi) Rebooting the node.
vii) check the process runing or not as lsof.
viii) Tried with multiple VM's.

still same process.

is there any solution..

Proxmox version : Virtual Environment 7.4-3.
Last edited:
just that I understand this right, you tried to move the vm from one node to another by copying the config file of that vm?
While that could possibly work, under some specific circumstances, it is definitely not recommended. If the two nodes are in the same cluster, you should use the built-in migration tool. If not, the best way is to create a full backup of the vm, and import it on the new node.
  • Like
Reactions: leesteken
without replication can mv /etc/pve/nodes/A/qemu-server/103.conf file of node A to node B on /etc/pve/nodes/B/qemu-server/103.conf. works ??
No, stop trying to manually move the config file. If you have a healthy cluster, migrate it via the web ui or with qm migrate <vmid> <target> with the target being the node name you are trying to put the vm onto. If you are not using a cluster, or the nodes are in different clusters, you need to create a backup, copy that to the new server and restore your vm there.
hello Folke Gleumes, how can we copy the backup VM from one nodes to another nodes, with in the same cluster nodes, and differnet cluster.
as it only provide the option for restore and backup on same nodes than not able to resotre and backup on another nodes.


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!