Missing vdi which is a base for a delta
-
@poddingue They were all on Ark. VMs:
7da38127-0ff5-1f76-d8b6-a5159a37d658
7eb23022-4f0b-f73e-b544-c4d860e54453
865f4634-76f6-48a3-938e-3adff4fb9e3f
9a64cc4e-0b46-d01e-bfcf-3fbedbd7e334
a1f1bee1-4076-b37f-006c-630d5c3a9f39
a86bb37b-a0ec-3d94-b52d-196da40b317d
a925c4c2-b3f3-6cc3-3c40-a836e3a24914
b27a40e4-ea4f-7706-fb4e-98551fa85d0d
b92636e5-c9f1-47d6-644f-70158dc39f0e
bbe64766-97f3-de14-43aa-77867b7f1fb0
d1a39422-78d6-56d1-28c3-65299cdc1a5e
d77691ef-a507-e120-e2b8-2c1807f0ef99
edc46393-eee4-6a39-89c0-0b4486df8879
f8ed66aa-e753-1271-84c6-a73819ff25f7
fb7fca7d-7355-4a48-f35c-d32c8dfa71ee -
Well, mirror backup failed last night, missing vdi d08f1acc-a2a9-40c1-a129-e87e151cb268 which is a base for a delta. I checked the VM backups and this is what I see:

I don't understand why there is no key in Ark. -
-
And the health check passes. How can that be possible?
{
"id": "0mwnnmk6y-jd7jumsiui",
"start": 1795099050682,
"status": "success",
"updatedAt": 1795103578854,
"tasks": [
{
"id": "0mwnnmmmn-jvm3zflms38",
"start": 1795099053839,
"status": "success",
"end": 1795103578854,
"result": {
"size": 302621130752,
"id": "b656b0d4-b575-c805-5738-6fd50d150951",
"liveMounts": []
},
"message": "transfer"
}
],
"end": 1795103578854,
"result": {
"size": 302621130752,
"id": "b656b0d4-b575-c805-5738-6fd50d150951",
"liveMounts": []
},
"message": "restore",
"data": {
"backupId": "dc0a417c-e1cb-4b4b-8fd9-d59e2564999f//xo-vm-backups/fb7fca7d-7355-4a48-f35c-d32c8dfa71ee/20261119T051216Z.json",
"jobId": "73d695c7-901b-45bd-94ba-f38682705d35",
"srId": "caba922c-ac32-67e8-f83b-a5907d880179",
"time": 1795065136373
}
} -
@blueh2o I think the two things you saw fit together, at least going by what I see in the mirror code. The
1 differencingtag only says that this one backup's disk is a delta, which is normal for an incremental; the key sits further back in the chain, which I think is why the health check could still rebuild the whole ~280 GiB disk.
And as I wrote a few posts up, the mirror reads the parent of each delta on Ark and then asks each target whether it already has it, so last night's error would mean the Synology is missingd08f1accfor that one VM (fb7fca7d), not that Ark is broken.
That brings us back to Florent's suggestion from the older thread, deleting that VM's most recent backups on the Synology so they get sent again, though I can't tell you why the Synology lost that base in the first place. At least it's down to one VM out of 56 last night, against 16 in October. -
@poddingue The most recent failure is vm 7da38127-0ff5-1f76-d8b6-a5159a37d658 Missing vdi a45aab28-2ab5-471a-bcbd-ad562828a429 which is a base for a delta
Looking at Synology the directory under xo-vm-backups for this vm has no actual data:
/volume1/Backup/Xen/xo-vm-backups$ ls -l 7da38127-0ff5-1f76-d8b6-a5159a37d658
total 4
-rwxrwxrwx+ 1 root root 50 Oct 24 07:44 cache.json.gzSo, there is nothing to delete...?
-
Thanks, an empty folder on the Synology changes things. There's nothing on the target to delete, so at least for this VM the target can't be the side missing a piece. I had it the wrong way round on the 20th.

Going back to the code, when the target has nothing, the mirror queues every backup Ark holds for that VM, oldest first and per source job. It only stops with this error when one of them is a delta whose parent isn't on the target.
With nothing there, that would mean the oldest backup on Ark for 7da38127 is itself a delta with no key behind it, which sounds like the keyless chains you found on the 18th.
Could you check in the restore view whether the oldest Ark backup of that VM shows a
keytag, job by job, since you have several delta jobs feeding Ark?
The mirror page in the docs assumes the chain on the source starts with a key (https://docs.xen-orchestra.com/backups-and-dr/backup-types/mirror_backup#synchronizing-algorithm-for-incremental-backups), and I don't know yet how Ark ends up with a chain that doesn't, so my reading of the code could still be off. -
@poddingue Yes there is a key:

-
Your screenshot shows the 11-21 backup of 7da38127 as a
keyon Ark, so the keyless delta I guessed at the start of the chain isn't there for this VM, at least not in that list. I had it wrong again, sorry.
The Synology now shows that key and the 11-28 delta too, when the folder was empty on the 25th, which makes me wonder whether a later mirror run got this VM through.
Did last night's mirror still report
Missing vdifor 7da38127, or for any other VM? And is that the whole list for that VM, with a single delta job feeding Ark, or are there older backups or other jobs that didn't fit in the screenshot? -
@poddingue No, last night there were no missing vdis. That is the entire list for that VM at the moment. The only failures last night were 4c422bc5 (Lock file is already being held) - that is in the same mirror job we've been discussing; and 12446df8 in the daily delta job to Ark, also lock file is already being held.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login