Method to verify single chunk

MichalCirrus

Active Member
Dec 3, 2019
2
1
43
47
I wonder if anyone has script allowing to verify single chunk.

I have a problem with my PBS installation containing backup of large vm. Last verification of old snapshot discovered few bad chunks and I would like to avoid next whole snapshot verification. My goal is to verify if there is a problem with storage or with verification itself.
 
I think you can try with smaller vms or cts. If most (or all) fail verification, it's likely the filesystem where the datastore lies needs to be repaired. It happened to me about one week ago.
 
Hey, um ... I'm not sure if this really addresses what you need. The latest PBS release 3.3 has fixes for bad chunks. Don't know if these apply to your use case. You'll need to upgrade, and then you need to turn it on, so this may not be useful to you at all.

Take a look. https://pbs.proxmox.com/wiki/index.php/Roadmap
  • Pull sync jobs can now optionally resync corrupt chunks (issue 3786).When syncing a backup group from a remote, the sync job checks whether the last local snapshot has previously failed verification.If this is the case, the sync job overwrites the local snapshot with the remote snapshot.As the additional lookups impact sync job performance, the feature is disabled by default and can be enabled in the sync job options.

  • Check for known but missing chunks when creating a new backup snapshot (issue 5710).Known chunks are chunks that are contained in the previous snapshot of the backup group.When creating a new backup snapshot, the list of known chunks is sent to the client, so the client can skip uploading known chunks.However, if a known chunk disappeared, but the previous snapshot has not been re-verified yet, the new backup snapshot will be corrupt.To make the user aware of this condition, check the previously known chunks for existence when finishing the new backup snapshot.If a missing chunk is detected, the backup fails and the verify state of the previous backup snapshot is set to failed.
 
Last edited:
  • Like
Reactions: Johannes S

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!