PBS completely full disk

bea

Active Member
Dec 25, 2020
42
1
28
25
Hello.

I have a remote PBS with 2 disks as a ZFS-mirror. It all worked great but the disks got completely full so it is not operable anymore. I can access it through GUI and SSH, but I can only run few commands. I have deleted almost every log and most of its backups and then waited for more than 24 hours, but no difference.

What else could I do?

I don't mind loosing every backup it has.

Thank you
 
Thank you.

I understood that is run automatically 24h and 5 min after deletion. But anyway when trying to run it manually it gives me an unable to start garbage collection job on datastore mydatastore - ENOSPC: No space left on device (400) error
 
I see you posted that you don't mind losing every backup.
Ok. Here's how to do that.

Go to the shell console in PBS or an SSH session.

This shows you the ZFS datasets on your PBS server.
zfs list

Use the info to build the following command. This will delete the dataset.
zfs destroy bea-backup-or-whatever-you-called-it

This reset's PBS's info about the dataset.
mv /etc/proxmox-backup/datastore.cfg /etc/proxmox-backup/datastore.bak


Perhaps more folks will comment here. Listen to them too.
Search the forum. This is not an uncommon problem. There are longer, more complicated answers than the one I just supplied.

You don't want this to happen again.
After your recovery, set a reservation on your root dataset so if you fill up again, root will still work.

zfs set reservation=10g rpool/ROOT
 
Last edited:

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!