I'm struggling to resolve errors during my sync operation. Below is an example error. While vm 137 is common, I see the same error for other VM IDs.
The errors occur mostly, if not always, while the verify operation is active on the same PBS that is running the sync. Is sync during verify allowed?
Here are a few more details on my setup. The intervals are currently set very short to stress the system.
* PVE-WA: Backups sent to PBS-WA every 30 minutes.
* PBS-WA: Verify daily, prune hourly, garbage collect on Saturday.
* PBS-OR: Verify daily, sync to PBS-WA 15 minutes past every hour.
While the start of the verify is deterministic and the start of the sync is deterministic, the end of both is not. Therefore, I'm understanding verifies and syncs as asynchronous operations. As async operations there is a chance that they can be running at the same time. Since that chance exists, intentionally running them at the same time should be okay. If it is not okay how can I guarantee that they will never occur at the same time?
Code:
2024-08-21T06:27:00-07:00: sync group vm/137 failed - unable to acquire lock on snapshot directory "/mnt/datastore/primary/vm/137/2024-08-21T12:00:04Z" - internal error - tried creating snapshot that's already in use
The errors occur mostly, if not always, while the verify operation is active on the same PBS that is running the sync. Is sync during verify allowed?
Here are a few more details on my setup. The intervals are currently set very short to stress the system.
* PVE-WA: Backups sent to PBS-WA every 30 minutes.
* PBS-WA: Verify daily, prune hourly, garbage collect on Saturday.
* PBS-OR: Verify daily, sync to PBS-WA 15 minutes past every hour.
While the start of the verify is deterministic and the start of the sync is deterministic, the end of both is not. Therefore, I'm understanding verifies and syncs as asynchronous operations. As async operations there is a chance that they can be running at the same time. Since that chance exists, intentionally running them at the same time should be okay. If it is not okay how can I guarantee that they will never occur at the same time?