Proxmox Backup Server datastorage Full

SoporteIB

Well-Known Member
Dec 14, 2018
37
2
48
44
Hello.
The datastore I use for backups is full. I've set up a purge system, which is more restrictive so it removes more space. I've been looking at the forums and I need to run Garbage Collect, but I'm getting an error at the 2% mark, saying there's no more space. I've deleted more container backups, some manually from the terminal, and now it's down to 60%, but it's giving the error again. I've deleted more, but now it's stuck at 55%. How can I fix this?
Best regards.
1748602133273.png

1748602282721.png
 
2025-05-30T12:36:08+02:00: marked 55% (197 of 357 index files)
2025-05-30T12:36:09+02:00: TASK ERROR: update atime failed for chunk/file "/mnt/datastore/Copias/.chunks/befd/befdcfb4c93666567c2ed93f572a688649bd1c143f2aedf06c1074ea0ce86952" - ENOSPC: No space left on device
 
Please share this
Bash:
lsblk -e230 -oNAME,SIZE,FSTYPE,FSVER,FSSIZE,FSUSED,FSAVAIL,FSUSE%,MODEL
zfs list
 
lsblk -e230 -oNAME,SIZE,FSTYPE,FSVER,FSSIZE,FSUSED,FSAVAIL,FSUSE%
NAME SIZE FSTYPE FSVER FSSIZE FSUSED FSAVAIL FSUSE%
sda 1.8T
├─sda1 1.8T zfs_member 5000
└─sda9 8M
sdb 1.8T
├─sdb1 1.8T zfs_member 5000
└─sdb9 8M
sdc 1.8T
├─sdc1 1.8T zfs_member 5000
└─sdc9 8M
sdd 111.8G
├─sdd1 1007K
├─sdd2 1G vfat FAT32
└─sdd3 110G zfs_member 5000
sde 111.8G
├─sde1 111.8G zfs_member 5000
└─sde9 8M

# zfs list
NAME USED AVAIL REFER MOUNTPOINT
Copias 3.52T 155M 3.52T /mnt/datastore/Copias
rpool 6.23G 99.4G 96K /rpool
rpool/ROOT 6.17G 99.4G 96K /rpool/ROOT
rpool/ROOT/pbs-1 6.17G 99.4G 6.17G /
 
I've added an example command to my linked post. Try that and see if Avail increases enough to be able to do the GC.
 
Last edited:
I've added an example command to my linked post. Try that and see if Avail increases enough to be able to do the GC.

Do you mean the following?
I tried it, but I don't have permissions. I tried chmod.

cat /sys/module/zfs/parameters/spa_slop_shift
echo > 6 /sys/module/zfs/parameters/spa_slop_shift
 
Last edited:
You need to write it exactly as shown. The > after echo 6 is important.
 
Last edited:
It was an error when copying it here, but it doesn't apply, if I open the file with nano, it says 5 and I don't have permissions
1748610683798.png
 
I'm so sorry. I didn't notice that the value was at the wrong place :oops:
The command is
Bash:
echo 6 > /sys/module/zfs/parameters/spa_slop_shift
 
Last edited: