Simultaneous Backup on one Node to different Storages

HBO

Active Member
Dec 15, 2014
274
15
38
Germany
Hi,

we got following error:
Code:
INFO: trying to get global lock - waiting...
ERROR: can't aquire lock '/var/run/vzdump.lock' - got timeout

We have 2 different nfs backup storages on a 10 node cluster, there exists 2 backup jobs for different vms.
Job 1 runs for example for VM 1 - 10 to storage A.
Job 2 runs for example for VM 11 - 20 to storage B.

All vms are mixed on our cluster nodes.

It seems that sometimes both backup jobs land together on one node, one backup job will fail with upper message. Is there any solution to backup different vm ids to different storages at the same time on one node?

Thanks
 
Is there any solution to backup different vm ids to different storages at the same time on one node?

We only allow one backup job per node. But you can increase the time to wait for the lock by setting 'lockwait' in /etc/vzdump.conf. Default is to wait 180 minutes.