Disk Shortage 99%

Hello, I'm experiencing disk shortage warning, 99% ahead.
Memory usage more than 75%, average load is also very high.
I'm running PiHole latest release in a container on a Raspberry Pi 4 with 2Tb SSD attached, running latest Raspberry Pi OS with OMV on top.
Please help me troubleshoot this, I don't really know how.

Expected Behaviour:

No disk shortage.

Actual Behaviour:

Disk shortage (`/var/log/pihole/FTL.log` ) ahead: **99% used**
/var/log/pihole: 67.4GB used, 67.6GB total

Debug Token:

https://tricorder.pi-hole.net/f1xueEM6/

Your debug log shows your root partition (from your host OS) is 100% used:

*** [ DIAGNOSING ]: Disk usage
   Filesystem      Size  Used Avail Use% Mounted on
   overlay          63G   60G  188M 100% /

You need to free up space on this partition.

You can start with sudo df -h this will show you your filesystems and available space. Pay attention to the "mounted on" column. As pointed out you will like find "/" as near or at full. Run sudo du -h / --max-depth=1 |sort -hr to get a list of directories and thier usage. Piping it to sort will list the most used at the top.

This should get your to the right spot to start looking. Often its going to be the /var/log directory though you may find backups of a database causing the issue as well.

Thank you for your reply.
I've checked with df -h command that docker overlay2 ate up all the freespace. So I found the docker prune command to free up some space. It help freeing about 16Gb of storage, but still it looks like to be taking too much of the disk space.

air_alarm@air-server:/var/lib/docker$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        63G   45G   16G  75% /
devtmpfs        3.6G     0  3.6G   0% /dev
tmpfs           3.9G     0  3.9G   0% /dev/shm
tmpfs           1.6G  3.9M  1.6G   1% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           3.9G     0  3.9G   0% /tmp
/dev/sda1       255M   31M  225M  13% /boot
folder2ram      3.9G  1.5G  2.4G  38% /var/log
/dev/sda3       1.8T  1.4T  289G  83% /srv/dev-disk-by-uuid-320a3f0a-5a5d-4764-b1b2-1654fb2fe89e
folder2ram      3.9G     0  3.9G   0% /var/tmp
folder2ram      3.9G  652K  3.9G   1% /var/lib/openmediavault/rrd
folder2ram      3.9G  2.4M  3.9G   1% /var/spool
folder2ram      3.9G   15M  3.9G   1% /var/lib/rrdcached
folder2ram      3.9G  4.0K  3.9G   1% /var/lib/monit
folder2ram      3.9G   32K  3.9G   1% /var/cache/samba
overlay          63G   45G   16G  75% /var/lib/docker/overlay2/0ea09a0a2d5780c67e1c8ca7738b5454f63fa8f1d09d76b3476b23f81086c161/merged
overlay          63G   45G   16G  75% /var/lib/docker/overlay2/a048b2b167d1ab8844113b5cdeace037562c4c2c740be2599a425cc29dbcc0eb/merged
overlay          63G   45G   16G  75% /var/lib/docker/overlay2/1938ebf5fca0247f2e2e77c95a498908bd45260d45900af19838fe50fb19c941/merged
overlay          63G   45G   16G  75% /var/lib/docker/overlay2/f7df651aefa5ead00ce7543403d3becaf5b87a807cef8f8bda3f65954b23c72e/merged
overlay          63G   45G   16G  75% /var/lib/docker/overlay2/78093f09dd10d4ce096b705a54164dbe4585d0814d4e526edbd458e0f6764951/merged
overlay          63G   45G   16G  75% /var/lib/docker/overlay2/55d94613794d538ec37ebf752c74ce99569a5faa269076be07c98af011f471e4/merged
overlay          63G   45G   16G  75% /var/lib/docker/overlay2/c92c983cb1241de49ee4db664b87df8574c4e4e7d7fac718aa36afd9e9c4d604/merged
overlay          63G   45G   16G  75% /var/lib/docker/overlay2/4c278e67d538aa7a45cd7aabc69b76ea6bf44c94b34b769933268847a278f30f/merged
overlay          63G   45G   16G  75% /var/lib/docker/overlay2/002bcba8f3f3bc32b97a11e7dce3ae1a55bded58f62f5850de0353ecb31ee84d/merged
overlay          63G   45G   16G  75% /var/lib/docker/overlay2/e714beba00462b6b29d779f554215b704001ee276d455824dccef7a36a514415/merged
overlay          63G   45G   16G  75% /var/lib/docker/overlay2/6177ffcf141f5478e9a725987b9203fba6cf9ff524d316a71914e7ddd5a27e3f/merged
overlay          63G   45G   16G  75% /var/lib/docker/overlay2/2dd348191da05415fe6af86a748f6aeff47b2310037e3dde1fe9f229fb8789fb/merged
overlay          63G   45G   16G  75% /var/lib/docker/overlay2/89d4c8428d4c83bde8464da8e078f0b8f461d79e3471fcb576d02f2bacec920a/merged
overlay          63G   45G   16G  75% /var/lib/docker/overlay2/030fa8df1966a0517ba5a71e1c56352749e760962e1f51e64dbdaa924c8c4593/merged
tmpfs           782M  4.0K  782M   1% /run/user/1000

What can I do more to free up more space taken by this docker overlay folder?

I don't have any docker experience so I can't help you there. Perhaps someone with docker experience can chime in.

From the output, I would guess the following.

  1. This is not a Pi-hole issue.
  2. You're booting from a 64 GB SD-Card

/var/lib/docker is mounted to the / partition and does not utilize your (external) SSD.

What is the output for?

du -sh /var/lib/docker/

I have found out the reason. Prometheus container and its volume did not had any restrictions of disk space usage.

Thank you everyone for your help!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.