space, earth, bug-19070.jpg

So I accidentally (ok purposefully) deleted the .chunks folder on my pbs server datastore. Unfortunately, proxmox makes about 65,000 sub folders inside the .chunks folder at the time the data store is created and has no health function to restore these folders should you delete them.

My work around for this was to rsync just the folders from our remote PBS back onto the on site pbs:

rsync -a –include=’/’ –exclude=’‘ -e ssh .chunks/ root@broken-pbs:/mnt/datastore/pbs_local_zfs/.chunks/

Leave a Comment

Your email address will not be published. Required fields are marked *