unused/deleted chunks not being recovered

David Thistlethwaite

Well-Known Member
May 14, 2019
64
3
48
61
Hi folks, upgraded to pbs 3.0, thanks team.

Odd situation I decided to move about 1.8TB of data from one datastore to another
Deleted the backups/namespace from inside pbs, waited a week, no disk space freed up ?
Ran GC again, no pending removals

Any way I can force pbs to rescan all the chunks and rebuild the indices, this might help ?

Ideas ?

David
 
Hi,
how and what did you move exactly? Did you remove all backups/namespaces from the datastore or just some? What does the log from the garbage collection say?
 
Hi,
how and what did you move exactly? Did you remove all backups/namespaces from the datastore or just some? What does the log from the garbage collection say?
Thanks for ideas Fiona, they led me to find the issue it turns out that is was a not obvious zfs snapshot taking up the space, which of course makes sense after such a large deletion, but my normal process of examining snapshots did not immediately present the issue.

Deleted all existing snapshots and space is recovered. (I use snapshot as a potential ransomware protection mechanism).

Thanks again
 
Thanks for ideas Fiona, they led me to find the issue it turns out that is was a not obvious zfs snapshot taking up the space, which of course makes sense after such a large deletion, but my normal process of examining snapshots did not immediately present the issue.

Deleted all existing snapshots and space is recovered. (I use snapshot as a potential ransomware protection mechanism).

Thanks again
Glad you found the culprit! FYI, there is zfs list -o space where you can see the snapshot usage for each dataset right away or zfs list -o space -t all to show each individual snapshot's usage too.
 

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!