Disk Shortage ahead 99 on ext4 filesystem mounted at /

Expected Behaviour:

PiHole normally uses very less boot disk, I'm running PiHole in Proxmox LXC container. Previously i never faced such an issue of boot disk overflowing. please help to resolve this disk shortage issue

Actual Behaviour:

The boot disk is full and PiHole crashed over night after an update to V6, lost network since PiHole crashed now after restart the PiHole is working but the boot disk is still full

Debug Token:

_ https://tricorder.pi-hole.net/6Yyb8m74/ _

What's the output of:

ls -lah /var/log/pihole/

Thank you for the response
Here is the output

total 5.8G
drwxr-xr-x 2 pihole pihole 4.0K Mar  1 06:05 .
drwxrwxr-x 9 root   syslog 4.0K Mar  1 00:13 ..
-rw-r----- 1 pihole pihole 5.8G Mar  1 16:21 FTL.log
-rw-r----- 1 pihole pihole  250 Feb 28 00:00 FTL.log.2.gz
-rw-r----- 1 pihole pihole  531 Feb 27 00:00 FTL.log.3.gz
-rw-r----- 1 pihole pihole  313 Feb 26 00:00 FTL.log.4.gz
-rw-r----- 1 pihole pihole 2.8M Mar  1 09:12 pihole.log
-rw-r----- 1 pihole pihole  15M Mar  1 00:00 pihole.log.1
-rw-r----- 1 pihole pihole 1.7M Feb 28 00:00 pihole.log.2.gz
-rw-r----- 1 pihole pihole 1.3M Feb 27 00:00 pihole.log.3.gz
-rw-r----- 1 pihole pihole 748K Feb 26 00:00 pihole.log.4.gz
-rw-r----- 1 pihole pihole 2.2M Feb 25 00:00 pihole.log.5.gz
-rw-r----- 1 root   pihole  93K Mar  1 06:02 pihole_debug.log
-rw-r----- 1 pihole pihole  38K Feb 23 03:11 pihole_updateGravity.log
-rw-r----- 1 pihole pihole  274 Mar  1 08:09 webserver.log
-rw-r----- 1 pihole pihole  189 Mar  1 00:00 webserver.log.1

Your FTL.log file is humongous!

Let's try to make some room, shear off the most recent 500 entries to keep, and get rid of the rest.

Please try:

sudo systemctl stop pihole-FTL

followed by

sudo rm /var/log/pihole/*.gz
sudo tail -500 /var/log/pihole/FTL.log > FTL.keep.log
sudo rm /var/log/pihole/FTL.log

and then

sudo systemctl start pihole-FTL

Thank you for the guidance, the size has significantly reduced.

Please see the output of ls -lah /var/log/pihole/

total 18M
drwxr-xr-x 2 pihole pihole 4.0K Mar 2 19:10 .
drwxrwxr-x 9 root syslog 4.0K Mar 2 00:13 ..
-rw-r----- 1 pihole pihole 4.4K Mar 2 19:10 FTL.log
-rw-r----- 1 pihole pihole 2.8M Mar 2 19:11 pihole.log
-rw-r----- 1 pihole pihole 15M Mar 1 00:00 pihole.log.1
-rw-r----- 1 pihole pihole 93K Mar 1 06:02 pihole_debug.log
-rw-r----- 1 pihole pihole 477 Mar 2 03:27 pihole_updateGravity.log
-rw-r----- 1 pihole pihole 100 Mar 2 19:10 webserver.log
-rw-r----- 1 pihole pihole 361 Mar 2 00:00 webserver.log.1

Hope this wold not reappear.

also is this because something is wrong with my PiHole installation.?

Let me know if i can share any more details.

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