• Contact
  • About Me
  • Privacy Policy
  • Disclaimer
DefenceDev
  • Home
  • Linux
    • Bash Scripting
      • Bash Scripting Lessons
    • Commands&Tips
    • Monitoring
  • Networking
    • FortiGate
    • MikroTik
  • Projects & Case Studies
  • Self-Hosted
    • AdGuard
    • Immich
    • Nextcloud
    • WordPress
  • Virtualization
    • Proxmox
    • VMware
  • Tools
No Result
View All Result
  • Home
  • Linux
    • Bash Scripting
      • Bash Scripting Lessons
    • Commands&Tips
    • Monitoring
  • Networking
    • FortiGate
    • MikroTik
  • Projects & Case Studies
  • Self-Hosted
    • AdGuard
    • Immich
    • Nextcloud
    • WordPress
  • Virtualization
    • Proxmox
    • VMware
  • Tools
No Result
View All Result
DefenceDev
No Result
View All Result
Home Virtualization Proxmox

Proxmox Backup Server: Deleted Backup but Disk Space Is Still Used? Here’s the Fix

by neo
September 7, 2026
in Proxmox
0
Proxmox Backup Server: Deleted Backup but Disk Space Is Still Used? Here's the Fix

AI-generated illustration of freeing pending storage space in Proxmox Backup Server after backup deletion.

0
SHARES
6
VIEWS
Share on FacebookShare on LinkedIn
Table of Contents
  • Proxmox Backup Server: Deleted Backup but Disk Space Is Still Used?
    • Why does this happen?
  • Solution
  • Restoring the original configuration
  • Final result

Proxmox Backup Server: Deleted Backup but Disk Space Is Still Used?

When managing backups with Proxmox Backup Server, deleting an old VM backup does not necessarily mean that the disk space is immediately returned to the filesystem.

Proxmox Backup Server Statistics Overview
Proxmox Backup Server Statistics Overview

I recently deleted a VM backup from my PBS datastore hdd-backup. The backup disappeared from the PBS interface, but the expected free space did not appear.

Proxmox Backup Server Remove Group/Content
Proxmox Backup Server Remove Group/Content

Instead, the Garbage Collection status showed a large amount of data under Pending removals.

Proxmox Backup Server Pending Removals
Proxmox Backup Server Pending Removals

The GC log showed:

Removed garbage: 0 B
Removed chunks: 0
Pending removals: 68.841 GiB (in 20909 chunks)

The important part was:

Pending removals: 68.841 GiB

So PBS had already identified almost 69 GiB of chunks that were no longer needed, but they had not yet been physically removed from the datastore.

I checked the datastore:

proxmox-backup-manager garbage-collection status hdd-backup

The result confirmed the situation:

disk-bytes       39245206116
pending-bytes    73917058891
pending-chunks   20909
removed-bytes    0
removed-chunks   0

The PBS datastore itself was mounted at:

/hdd_backup

and the filesystem showed:

/dev/sdb    458G    117G    318G    27%    /hdd_backup

However, I had another backup that I needed to run and wanted to recover the pending space immediately.

Why does this happen?

Proxmox Backup Server uses chunk-based storage and deduplication.

Deleting a backup does not simply mean deleting one large backup file. PBS needs to determine which chunks are still referenced by other backups.

During Garbage Collection, PBS identifies chunks that are no longer required.

However, those chunks are not necessarily deleted immediately.

The datastore was configured with:

gc-atime-cutoff=1445

This means PBS uses an access-time cutoff of 1445 minutes before considering certain chunks safe for physical removal.

This is a safety mechanism that prevents PBS from prematurely deleting chunks that may still be required.

In my case, the result was:

Backup deleted
       ↓
Chunks no longer referenced
       ↓
Garbage Collection finds them
       ↓
Chunks become "Pending removals"
       ↓
Waiting for the GC access-time cutoff
       ↓
Chunks can finally be removed

Solution

First, I changed the datastore tuning:

Because I needed the disk space immediately, I temporarily reduced the GC access-time cutoff to 30 minutes.

proxmox-backup-manager datastore update hdd-backup --tuning 'gc-atime-cutoff=30'

I then verified the configuration:

proxmox-backup-manager datastore show hdd-backup

The datastore showed:

tuning    gc-atime-cutoff=30
root@pbs:~# proxmox-backup-manager datastore show hdd-backup
┌───────────────────┬─────────────────────┐
│ Name              │ Value               │
╞═══════════════════╪═════════════════════╡
│ name              │ hdd-backup          │
├───────────────────┼─────────────────────┤
│ path              │ /hdd_backup         │
├───────────────────┼─────────────────────┤
│ comment           │                     │
├───────────────────┼─────────────────────┤
│ gc-schedule       │ daily               │
├───────────────────┼─────────────────────┤
│ notification-mode │ notification-system │
├───────────────────┼─────────────────────┤
│ tuning            │ gc-atime-cutoff=30  │
└───────────────────┴─────────────────────┘

I manually started Garbage Collection:

proxmox-backup-manager garbage-collection start hdd-backup

This time the result was completely different:

Removed garbage: 68.653 GiB
Removed chunks: 20860
Original data usage: 0 B
On-Disk chunks: 13808
Deduplication factor: 0.00
Average chunk size: 3.806 MiB
TASK OK

PBS successfully removed approximately 68.6 GiB of previously pending data.

Proxmox Backup Server Removed Data
Proxmox Backup Server Removed Data – in this case 414.20 GB Removed

This was exactly the space I needed.

Restoring the original configuration

I did not want to leave the datastore permanently configured with a 30-minute cutoff.

The reduced value was only used temporarily to recover the space.

After the Garbage Collection completed, I restored the original setting:

proxmox-backup-manager datastore update hdd-backup --tuning 'gc-atime-cutoff=1445'

Then I verified the configuration:

proxmox-backup-manager datastore show hdd-backup

The final configuration was:

name              hdd-backup
path              /hdd_backup
gc-schedule       daily
notification-mode notification-system
tuning            gc-atime-cutoff=1445

Everything was back to the original configuration.

Final result

The important lesson here is that deleting a backup from Proxmox Backup Server does not necessarily free the disk space immediately.

If PBS reports something like:

Pending removals: 68.841 GiB

the data has already been identified as removable, but PBS is waiting for the configured GC access-time cutoff before physically deleting the chunks.

In my case, I temporarily changed:

gc-atime-cutoff=1445

to:

gc-atime-cutoff=30

and manually ran Garbage Collection.

The result was:

Removed garbage: 68.653 GiB
Removed chunks: 20860

After recovering the space, I restored the original 1445-minute setting.

Do not manually delete PBS chunks from the filesystem. Let Proxmox Backup Server’s Garbage Collection handle the cleanup. The pending state is part of PBS’s protection mechanism and should normally be allowed to expire naturally.

If you’re interested in Proxmox, check out my other Proxmox-related articles where I share real-world problems, solutions, configurations, and lessons learned from managing my own infrastructure.

Tags: pbs
Previous Post

WordPress Stuck in Maintenance Mode After Plugin Update

neo

Related Posts

AI-generated illustration showing how to configure Telegram notifications in Proxmox and send alerts via Telegram
Proxmox

Configure Telegram Notifications in Proxmox VE Using Webhooks

Fix Proxmox VM Snapshot “Out of Space” Errors
Proxmox

Fix Proxmox VM Snapshot “Out of Space” Errors

AI-generated illustration of a Proxmox cluster node rename and migration scenario.
Proxmox

Rename a Proxmox VE Node in a Cluster Without Reinstalling the Server

Proxmox Freezes Due to e1000e NETDEV WATCHDOG Error – Fix
Proxmox

Proxmox Freezes Due to e1000e NETDEV WATCHDOG Error

Leave a Reply

Your email address will not be published. Required fields are marked *

Are you human? Please solve:Captcha


Recommended

VMware ESXi: Configure VLAN and Attach to VM

How to Configure VLAN and Attach It to a VM in VMware ESXi

Immich: Installation on Ubuntu 22.04

Immich: Installation on Ubuntu 22.04

Proxmox Backup Server: Deleted Backup but Disk Space Is Still Used? Here's the Fix

Proxmox Backup Server: Deleted Backup but Disk Space Is Still Used? Here’s the Fix

Briefly unavailable for scheduled maintenance. Check back in a minute.

WordPress Stuck in Maintenance Mode After Plugin Update

AI-generated illustration showing how to configure Telegram notifications in Proxmox and send alerts via Telegram

Configure Telegram Notifications in Proxmox VE Using Webhooks

Categories

  • Linux
    • Bash Scripting
    • Commands&Tips
    • Monitoring
  • Networking
    • FortiGate
    • MikroTik
  • Projects & Case Studies
  • Self-Hosted
    • AdGuard
    • Immich
    • Nextcloud
    • WordPress
  • Virtualization
    • Proxmox
    • VMware
  • Web Tools

DefenceDev Tutorials

defencedev Logo

Whether you’re just starting or looking to expand your skills, I hope you find useful information and engaging discussions here. Let me take you through my journey and the goals behind this space!

Follow Us

Recent News

Proxmox Backup Server: Deleted Backup but Disk Space Is Still Used? Here's the Fix

Proxmox Backup Server: Deleted Backup but Disk Space Is Still Used? Here’s the Fix

Briefly unavailable for scheduled maintenance. Check back in a minute.

WordPress Stuck in Maintenance Mode After Plugin Update

  • Site Map
  • Privacy Policy
  • Facebook Page
  • GitHub
  • Disclaimer
  • Contact
  • About Me

© 2025 defencedev.com - All rights reserved.

No Result
View All Result
  • Home
  • Linux
    • Bash Scripting
      • Bash Scripting Lessons
    • Commands&Tips
    • Monitoring
  • Networking
    • FortiGate
    • MikroTik
  • Projects & Case Studies
  • Self-Hosted
    • AdGuard
    • Immich
    • Nextcloud
    • WordPress
  • Virtualization
    • Proxmox
    • VMware
  • Tools

© 2025 defencedev.com - All rights reserved.