I have a problem that Syncthing filled up my system drive and I cannot release the disk space.

I have a problem. Syncthing filled up my system drive and I cannot release the disk space.

I have a ZimaBoard running CasaOS, with a 28 GB system drive and teo 4 TB attached drives.

I installed Syncthing in Docker on the system drive (I am not sure that I have any option there), configuring /var/syncthing and /media/data/syncthing on one of the nearly empty 4 TB attached drives.

I then tried to sync a 2 TB folder on a Win11 PC to the 4 TB attached drive.

Immediately my system drive started filling up, and I had to pause Syncthing before it filled it up completely.

I didn’t set the memory limit for the Docker container, and it filled up to the maximum - 7 GB. I uninstalled and reinstalled Syncthing, limiting the memory to 4 GB, but the system did not release the disk space previously taken.

I then uninstalled Syncthing, but the system still did not release the disk space.

I ran Portainer and it does not show any unused images or containers. I also ran docker system prune, but nothing was released.

Now my system disk is almost full, and I cannot install or update anything.

I’ve never touched a Zimaboard or CasaOS, but I understand that CasaOS has a command line interface. Can you use that to find out what’s going on?

I tried to use the cli to find what is using up the disk space but no luck. I might have to reinstall CasaOS, but I am afraid of losing my apps.

du

Doesn’t inform you where the space is consumed?

docker volume ls (possibly with -a) or if you don’t care about dangling images and volumes in Docker: docker system prune -a. You may have inadvertently written to a docker volume instead of a bind mount.

1 Like