force garbage

frankz

Active Member
Nov 16, 2020
364
24
38
Hi, I wanted to know if there is a way to force Garbage or pending cancellation.

Datastore: ZFS_USB
Task ID: UPID:pbs:000005EA:0000076E:00000022:6237F138:garbage_collection:ZFS_USB:root@pam:
Index file count: 9

Removed garbage: 0 B
Removed chunks: 0
Removed bad chunks: 0

Leftover bad chunks: 0
Pending removals: 387.795 GiB (in 188665 chunks)

Original Data usage: 126.154 GiB
On-Disk usage: 21.762 GiB (17.25%)
On-Disk chunks: 16292

Deduplication Factor: 5.80

Garbage collection successful.


Please visit the web interface for further details:

<https://pbs.internal2.lan:8007/#DataStore-ZFS_USB>
 
just wait a day ;)
 
wait since the chunks were last touched. the GC is rather simple:

  1. iterate over all chunks still referenced by any snapshots and update their atime (to mark them as not-garbage)
  2. delete all chunks with an atime older than a certain threshold (at least 24h + 5minutes, longer if you still have long-running backup tasks started before that)
 
wait since the chunks were last touched. the GC is rather simple:

  1. iterate over all chunks still referenced by any snapshots and update their atime (to mark them as not-garbage)
  2. delete all chunks with an atime older than a certain threshold (at least 24h + 5minutes, longer if you still have long-running backup tasks started before that)
Sorry, how can I mark it as non-garbage?
 
the garbage collection does that automatically (the first phase is the marking, the second phase is the sweeping/removing of no longer needed chunks).
 

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!