[SOLVED] Sync job error

bly

New Member
Mar 15, 2024
25
4
3
Hi, I'd like have a datastore being mirrored on a second disk, so I did create a sync job to keep source and destination datastores synced, on the same machine but is failing, can someone point me to the correct procedure?


wd-1t-345 is the datastore with the backups inside, the backup job is working correctly, it has a number of backups inside already
BACKUP2 is the mirror I want to get
both datastores have been created using the UI, Storage/Disks > Directory > create new directory and selecting the new, unused disks.
Both disks are attached with USB3

Here is the error log:

2024-04-08T13:28:34+02:00: Starting datastore sync job '-:wd-1t-345:BACKUP2::test'
2024-04-08T13:28:34+02:00: sync datastore 'BACKUP2' from 'wd-1t-345'
2024-04-08T13:28:34+02:00: ----
2024-04-08T13:28:34+02:00: Syncing datastore 'wd-1t-345', root namespace into datastore 'BACKUP2', root namespace
2024-04-08T13:28:34+02:00: found 1 groups to sync (out of 1 total)
2024-04-08T13:28:34+02:00: sync snapshot vm/412/2024-04-08T08:30:02Z
2024-04-08T13:28:34+02:00: sync archive qemu-server.conf.blob
2024-04-08T13:28:34+02:00: sync archive drive-virtio0.img.fidx
2024-04-08T13:28:34+02:00: percentage done: 25.00% (1/4 snapshots)
2024-04-08T13:28:34+02:00: sync group vm/412 failed - inserting chunk on store 'BACKUP2' failed for f84c4b56e13d1b4cc70d9b5cfd88beac5119582743831b7893b1b26ac15afa49 - mkstemp "/mnt/datastore/BACKUP2/.chunks/f84c/f84c4b56e13d1b4cc70d9b5cfd88beac5119582743831b7893b1b26ac15afa49.tmp_XXXXXX" failed: ENOENT: No such file or directory
2024-04-08T13:28:34+02:00: Finished syncing namespace , current progress: 0 groups, 1 snapshots
2024-04-08T13:28:34+02:00: TASK ERROR: sync failed with some errors.

I only think it is missing the .chunks directory? But it hasn't had to be created automatically when I created the Directory from the new, unused disk? .chunks exists, but I see it stops at eead and directory f84c doesn't exists.

TIA!
 
Last edited:
It was the .chunks not fully populated.
I did removed the datastore and wiped the disk, and recreated the datastore, after that the .chunks directory was fully populated up to ffff and the sync job is working.
 

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!