Error on scrub

frankz

Active Member
Nov 16, 2020
364
24
38
Hi , i'have found an error by using zfs status -v
Code:
 /mnt/datastore/ZFS_PBS/.chunks/74a4/74a441202664a8005347671f25ee5d9fab92f592cb04f4b72083f035e894689b
I can repair this error ?
 
Scrub should have fixed it in case it could do that (won'T work with single disk or raid0 because mirrors or parity data is required for that).
PBS could mark that chunk as corrupted so PVE would upload it again (only in case the data of that chunk still exists on the PVE) next time backup up a VM that uses this chunk. But for that PBS needs to know that the chunk got corrupted and for that you would need to run verify task forcing a re-verify of all backup snapshots.
 
Scrub should have fixed it in case it could do that (won'T work with single disk or raid0 because mirrors or parity data is required for that).
PBS could mark that chunk as corrupted so PVE would upload it again (only in case the data of that chunk still exists on the PVE) next time backup up a VM that uses this chunk. But for that PBS needs to know that the chunk got corrupted and for that you would need to run verify task forcing a re-verify of all backup snapshots.
Excuse me, I hope I got it right (Italian - eng), is this due to a snapshot maybe of a vm for which the backup was made? That is, a backup of a vm with an active snapshot?
 
All backup of VMs/LXCs are stored dedupkicated on the PBS as "backup snapshots" and those are chopped into thousands or millions of some KB to 4MB "chunk files". One of those then corrupted.
So yes, you now should have one or multiple bad backups that won't restore anymore unless you fix/replace that bad chunk file.
 
  • Like
Reactions: frankz

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!