How to restore /mnt/datastore/backup/.chunks

Vito103

New Member
Jun 25, 2025
2
0
1
HI
l'm testing proxmox backup server and now facing a problem.My pbs version is 3.1-2,and l delete some of my snapshot but l find out disk usage isnot going down through PBS Datastore--Summary Page.So l login in pbs console and use ls -a in /mnt/datasote/backup.And thers's a .chunks file which is using the disk space.So l delete the whole .chunks file but when l backup the virtual machine there is a ERROR: VM 100 qmp command 'backup' failed - backup register image failed: command error: inserting chunk on store 'backup' failed for bb9f8df61474d25e71fa00722318cd387396ca1736605e1248821cc0de3d3af8 - mkstemp "/mnt/datastore/backup/.chunks/bb9f/bb9f8df61474d25e71fa00722318cd387396ca1736605e1248821cc0de3d3af8.tmp_XXXXXX" failed: ENOENT: No such file or directory
I have seem some documents in pve-docs and turn out l have made a mistake
So,is there a way to rebuild .chunks ? If dont,maybe should l destroy my datastore and create a new one?
 
So,is there a way to rebuild .chunks ? If dont,maybe should l destroy my datastore and create a new one?
No, unless you have an offsite copy you cannot restore the chunk folder, which is where the actual backup data is stored, for technical details of how this works in PBS see https://pbs.proxmox.com/docs/technical-overview.html

You lost your backups, best is to destroy and recreate the datastore. And to clean up unused space, you need to use garbage collection, see https://pbs.proxmox.com/docs/maintenance.html#garbage-collection
 
  • Like
Reactions: Vito103
No, unless you have an offsite copy you cannot restore the chunk folder, which is where the actual backup data is stored, for technical details of how this works in PBS see https://pbs.proxmox.com/docs/technical-overview.html

You lost your backups, best is to destroy and recreate the datastore. And to clean up unused space, you need to use garbage collection, see https://pbs.proxmox.com/docs/maintenance.html#garbage-collection
Thank you for your supporting,the problem is resolve now :)