[SOLVED] Error during PBS sync - create_locked_backup_group failed

mocanub

Active Member
Dec 12, 2018
26
0
41
38
Hi everyone,

I'm trying to configure a sync between 2 PBS servers (PBS01 and PBS02 as per the below logs). For some groups it works without any issues but for some I get this error create_locked_backup_group failed. Both PBS servers are at version 3.1-2.

Does anyone know what is causing this?

Code:
2023-12-21T15:26:23+02:00: Starting datastore sync job 'pbs01:PBS01_VM_BACKUP:PBS02_VM_BACKUP::s-5a367ff1-0b29'
2023-12-21T15:26:23+02:00: sync datastore 'PBS02_VM_BACKUP' from 'pbs01/PBS01_VM_BACKUP'
2023-12-21T15:26:23+02:00: ----
2023-12-21T15:26:23+02:00: Syncing datastore 'PBS01_VM_BACKUP', root namespace into datastore 'PBS02_VM_BACKUP', root namespace
2023-12-21T15:26:23+02:00: found 1 groups to sync (out of 68 total)
2023-12-21T15:26:23+02:00: sync group vm/115 failed - group lock failed: unable to read "/mnt/datastore/PBS02_VM_BACKUP/vm/115/owner" - No such file or directory (os error 2)
2023-12-21T15:26:23+02:00: create_locked_backup_group failed
2023-12-21T15:26:23+02:00: Finished syncing namespace , current progress: 0 groups, 0 snapshots
2023-12-21T15:26:23+02:00: TASK ERROR: sync failed with some errors.

Thanks in advance,
Bogdan M
 
could you do "ls /mnt/datastore/PBS02_VM_BACKUP/vm/115/" and post the output?
 
could you do "ls /mnt/datastore/PBS02_VM_BACKUP/vm/115/" and post the output?
Hi fabian,

Thanks for your reply.

So this is the group content on the source datastore PBS01:
Bash:
$ ls /mnt/datastore/PBS01_VM_BACKUP/vm/115/ -la
total 52
drwxr-xr-x  6 backup backup  7 Dec 17 13:16 .
drwxr-xr-x 76 backup backup 76 Nov 14 22:53 ..
drwxr-xr-x  2 backup backup  6 Nov 26 12:11 2023-11-26T10:07:10Z
drwxr-xr-x  2 backup backup  6 Dec  3 12:04 2023-12-03T10:01:02Z
drwxr-xr-x  2 backup backup  6 Dec 10 12:12 2023-12-10T10:09:03Z
drwxr-xr-x  2 backup backup  6 Dec 17 13:17 2023-12-17T11:12:04Z
-rw-r--r--  1 backup backup 14 Jul  8 00:47 owner

and this is the group content on the destination datastore PBS02:
Bash:
$ ls -la /mnt/datastore/PBS02_VM_BACKUP/vm/115
total 25
drwxr-xr-x  2 backup backup  2 Dec 19 14:19 .
drwxr-xr-x 66 backup backup 66 Dec 21 15:26 ..
 
delete the empty dir on PBS02, and then restart the sync..
 
  • Like
Reactions: mocanub

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!