borgbackupserver icon indicating copy to clipboard operation
borgbackupserver copied to clipboard

/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots fills whole drive

Open bekaha opened this issue 7 months ago • 5 comments

Description

Hi there,

/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots fills up my disk. Borg Base Server cant be started, what can i do?

root@vm110:/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots# sudo du -h --max-depth=1 /var/lib/containerd | sort -hr 79G /var/lib/containerd 78G /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs 1,5G /var/lib/containerd/io.containerd.content.v1.content 1,7M /var/lib/containerd/io.containerd.metadata.v1.bolt 8,0K /var/lib/containerd/io.containerd.snapshotter.v1.native 8,0K /var/lib/containerd/io.containerd.runtime.v2.task 8,0K /var/lib/containerd/io.containerd.grpc.v1.introspection 4,0K /var/lib/containerd/tmpmounts 4,0K /var/lib/containerd/io.containerd.snapshotter.v1.erofs 4,0K /var/lib/containerd/io.containerd.snapshotter.v1.btrfs 4,0K /var/lib/containerd/io.containerd.snapshotter.v1.blockfile 4,0K /var/lib/containerd/io.containerd.sandbox.controller.v1.shim

Cheers

Steps to Reproduce

...

Installation Type

Docker

BBS Version

2.23.2

Agent Version (if applicable)

No response

Agent OS (if applicable)

None

Relevant Logs


bekaha avatar Apr 12 '26 14:04 bekaha

79G /var/lib/containerd 78G /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs 1,5G /var/lib/containerd/io.containerd.content.v1.content 1,7M /var/lib/containerd/io.containerd.metadata.v1.bolt 8,0K /var/lib/containerd/io.containerd.snapshotter.v1.native 8,0K /var/lib/containerd/io.containerd.runtime.v2.task 8,0K /var/lib/containerd/io.containerd.grpc.v1.introspection 4,0K /var/lib/containerd/tmpmounts 4,0K /var/lib/containerd/io.containerd.snapshotter.v1.erofs 4,0K /var/lib/containerd/io.containerd.snapshotter.v1.btrfs 4,0K /var/lib/containerd/io.containerd.snapshotter.v1.blockfile 4,0K /var/lib/containerd/io.containerd.sandbox.controller.v1.shim

bekaha avatar Apr 12 '26 14:04 bekaha

Sorry, i'll try to resizing my root drive. But this is happens daily

bekaha avatar Apr 12 '26 14:04 bekaha

Ok, i resized my disk, started all over. Borg Backup Server is runnig now an my root drive is at a normal level again. i am running BBS on a Proxmox-VPS with 12 Host-CPU, 16 GB RAM and now 128 GB NVMe.

bekaha avatar Apr 12 '26 14:04 bekaha

On the desktop i see a lot of prune task which take very long:

Image

bekaha avatar Apr 12 '26 14:04 bekaha

The /var/lib/containerd disk usage is unrelated to BBS — that's your container runtime (containerd) storing image layers and snapshots. It fills up over time as container images are pulled and old layers aren't cleaned. You can reclaim that space with:

# If using crictl (Kubernetes/k3s):
crictl rmi --prune

# If using Docker:
docker system prune -a

This is standard container housekeeping and has nothing to do with borg or BBS.

Regarding the long prune tasks — prune duration depends on the number of archives and repo size. It's normal for prune to take a while on repos with many recovery points. You can click on a prune job in the queue to see its activity log and confirm it's actually working (not stuck). If a prune consistently takes an unreasonable amount of time (hours), let us know the repo size and archive count and we can look into it.

marcpope avatar Apr 12 '26 18:04 marcpope