Chunks hava a size of 0

Running a check command shows:

ERROR SNAPSHOT_CHECK 489 chunks have a size of 0

I have tried deleting all the snapshots that have missing chunks. I have run a prune -exhaustive -exclusive command. I don’t have a missing chunks error anymore, all snapshots reference chunks. However, this chunk size 0 remains. How can I get rid of this error?

Did you run out of disk space?

You’ll have to find all 0-byte chunks and delete them manually.

Use a tool like Everything on Windows (search chunks\ size:0), or if on Linux: find <storage_path>/chunks/ -size 0 -type f -delete (careful where you run this from!)

After you’ve removed every 0-byte file, run another check.

You’ll probably have a whole bunch of missing chunks. One way you can patch that up is to run a new set of backups with a different backup temp ID - i.e. temporarily edit your preferences file. (Or maybe you can do a backup -hash, though I can’t remember if that works in this scenario.)

Finally, you may have a number of snapshots that reference missing chunks, and you may have to manually delete them under /snapshots. Most likely, these are only the most recent revisions (especially if this was a disk space thing), so should be much of a problem. Keep going 'til check runs clean.

1 Like