[SOLVED] restore failed: detected chunk with wrong digest. / TASK ERROR: connection error: unexpected EOF

max1337

Member
Dec 6, 2022
20
2
8
Hi everyone,
I had to recreate a zfs pool after it went corrupt and my somewhat naive me thought that I would be able to restore all the VMs from our proxmox Backup Server 4.2.4 in no time =)
I was able to restore most of the VMs even though not all could be restored from the most recent backups (because of the issue I am going to describe here). However one of the VMs has four different backups I tried to use for restore but none of the backups worked. All of them crashed during the restore process at various percentages with the following error message on the PVE side (9.2.6)
Code:
[...]
progress 32% (read 34359738368 bytes, zeroes = 13% (4588568576 bytes), duration 116 sec)
restore failed: detected chunk with wrong digest.
temporary volume 'zfs_vms:vm-123-disk-1' successfully removed
temporary volume 'zfs_vms:vm-123-disk-0' successfully removed
error before or during data restore, some or all disks were not completely restored. VM 123 state is NOT cleaned up.
TASK ERROR: command '/usr/bin/pbs-restore --repository root@pam@10.241.1.112:zfs vm/123/2026-06-06T23:05:21Z drive-scsi0.img.fidx /dev/zvol/zfs/VMs/vm-123-disk-1 --verbose --format raw --skip-zero' failed: exit code 255
on the PBS side I see
Code:
Aug 06 15:25:02 pbs proxmox-backup-proxy[1173]: TASK ERROR: connection error: unexpected EOF
From my undestanding, this indicates a backup file that is corrupted. But I ran the verification on all backups for said machine and they came back with no errors.
Any idea what I can do to restore the machine?

Thanks a lot
Max
 
Last edited:
Hi @max1337

thanks for posting on the forum!

From the past "detected chunk with wrong digest" errors especially if encountered at different parts of the backup / restore, mostly indicate a problem with the RAM of the PBS.
Can you check that with a live medium f.ex.?

Best regards
Jonas

EDIT: Add references:
 
Last edited:
Hi Jonas,
thank you very much for pointing me in that direction. I don't know why I did not find these threads when I was searching the forums.
I ran memtest86+ and it found issues right away. I will start to change memory modules until I found the broken one. Or do you think this could be an issue with the memory controller on the CPU side, too?

Cheers and have a nice weekend
Max
 
  • Like
Reactions: j.theisen
Hello everyone,
as a final update on this: memtest found errors with the RAM of the system. I started to unplug modules until I figured out which module was the culprit and replaced it. Ran memtest again with the system fully configured and was happy to see that the issue was solved. Hope this helps someone else at a later point.

Kind regards
Max
 
  • Like
Reactions: j.theisen