How to get the right usage shown of a datastore?

nicedevil

Member
Aug 5, 2021
107
10
23
Hey guys,

on my own installation I got rid of some old backups with the prune command and my usage isn't updating to correct size. Is that normal or can I update it with a command on CLI? I already did a newblike restart of the PBS.

1653675312038.png
 
Can you post the output of the following code?

Bash:
proxmox-backup-debug api get /status/datastore --output-format json
 
I guess I have to insert my datastore anywhere or?
I tryed it but still same error... maybe the problem got fixed by itself after last 2 days, the storage usage went down a bit, but maybe we can clear things up with your command?

Bash:
root@pbs:~# proxmox-backup-debug api get /status/datastore --output-format json
Error: no GET handler defined for '/status/datastore'
root@pbs:~# proxmox-backup-debug api get /status/datastore/backup --output-format json
Error: no GET handler defined for '/status/datastore/backup'
root@pbs:~# proxmox-backup-debug api get /status/backup --output-format json
Error: no GET handler defined for '/status/backup'

that is the difference right now

1653855187377.png
 
Last edited:
I tryed it but still same error... maybe the problem got fixed by itself after last 2 days, the storage usage went down a bit, but maybe we can clear things up with your command?
Thats normal. Pruning doesn't immediately free up space. With prune you mark backups for deletion and only a GC job will actually delete chunks. And a GC job will only delete chunks that were marked for deletion atleast 24 hours and 5 minutes ago.
 
  • Like
Reactions: fabian

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!