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!
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.
TIA!
Last edited: