Garbage collection

Matteo Calorio

Well-Known Member
Jun 30, 2017
34
0
46
52
Hello,

is there a way to force the emptying of some storage quickly?

We have a test installation on PBS on a VM with 8 CPU, 128GB RAM and a 100TB datastore on a SAN shared via NFS (probably not the more efficient solution).

Last two GC failed, so now we are reaching the share saturation:

1650546107469.png

The state of the VM seems to be non-critical and the "prunes" are performed correctly:

1650546150338.png

The same on PVE interface:

1650546830427.png

Also the SAN shows no problems.

This is the current status of GC:

2022-04-19T09:31:43+02:00: starting garbage collection on store san05
2022-04-19T09:31:43+02:00: Start GC phase1 (mark used chunks)
2022-04-19T11:36:25+02:00: marked 1% (77 of 7611 index files)
2022-04-19T13:28:50+02:00: marked 2% (153 of 7611 index files)
2022-04-19T16:44:47+02:00: marked 3% (229 of 7611 index files)
2022-04-19T18:54:39+02:00: marked 4% (305 of 7611 index files)
2022-04-19T21:31:26+02:00: marked 5% (381 of 7611 index files)
2022-04-19T23:20:44+02:00: marked 6% (457 of 7611 index files)
2022-04-20T02:09:04+02:00: marked 7% (533 of 7611 index files)
2022-04-20T13:25:40+02:00: marked 8% (609 of 7611 index files)
2022-04-20T21:45:15+02:00: marked 9% (685 of 7611 index files)

Another question is: if I understood correctly phase1 touches all chunks and phase2 remove all chunks with atime > 24h 5m. But... what if phase1 lasts more than 24h 5m?

Thanks,
Matteo
 

Attachments

  • 1650546192546.png
    1650546192546.png
    144.1 KB · Views: 2
Oh... so the reply to my whole message is "no, there is no way to force the emptying of some storage quickly"? :/

Another question: is it possible to keep index file locally (SSD) and chunks on NFS?

M.
 

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!