Please follow the below template, it will help us to help you!
Expected Behaviour:
SD storage should not be full on pihole running on 8GB Pi Zero.
Actual Behaviour:
SD storage space seems to be completely full causing many pihole user interface issues (though ad-blocking still occurs).
Debug Token:
Can't run debug because storage is full.
> sudo df -h
> Filesystem Size Used Avail Use% Mounted on
> /dev/root 5.4G 5.4G 0 100% /
> devtmpfs 213M 0 213M 0% /dev
> tmpfs 217M 11M 207M 5% /dev/shm
> tmpfs 217M 23M 195M 11% /run
> tmpfs 5.0M 4.0K 5.0M 1% /run/lock
> tmpfs 217M 0 217M 0% /sys/fs/cgroup
> /dev/mmcblk0p6 68M 22M 47M 32% /boot
> tmpfs 44M 0 44M 0% /run/user/1000
> tmpfs 44M 0 44M 0% /run/user/999
Pihole and the UI was working fine in DNS/DHCP mode for several weeks but suddenly the UI had many problems (e.g. Settings page not available, Network page shows all host activity stopped a week ago, can't whitelist or black list because session expired, etc.). I think these several issues may be caused by having no available space.
I have no idea why the space disappeared and I am a Linux and pihole newbie (but an otherwise technical guy), so I don't have the knowledge to diagnose and solve without guidance.
Can someone please help me?
Thanks!
And now, pihole no longer works. I had to reboot and the blocklist has 0 entries.
I'm using Adafruit's Pi-hole Kit with the Pi Zero.
I removed some logs and was able to run sudo ncdu / - here is some of what I got.
Here's what I got:
--- / --------------------------------------------------------------------------
2.7 GiB [##########] /usr
945.8 MiB [### ] /opt
845.9 MiB [### ] /etc
673.5 MiB [## ] /var
183.0 MiB [ ] /lib
22.1 MiB [ ] /run
21.6 MiB [ ] /boot
7.3 MiB [ ] /sbin
6.8 MiB [ ] /bin
4.8 MiB [ ] /home
2.0 MiB [ ] /dev
32.0 KiB [ ] /tmp
28.0 KiB [ ] /root
e 16.0 KiB [ ] /lost+found
12.0 KiB [ ] /media
e 4.0 KiB [ ] /srv
e 4.0 KiB [ ] /mnt
0.0 B [ ] /sys
. 0.0 B [ ] /proc
Inside /USR I see:
--- /usr -----------------------------------------------------------------------
/..
1.7 GiB [##########] /lib
816.9 MiB [#### ] /share
136.4 MiB [ ] /bin
23.1 MiB [ ] /include
5.0 MiB [ ] /sbin
444.0 KiB [ ] /man
168.0 KiB [ ] /local
124.0 KiB [ ] /src
e 4.0 KiB [ ] /games
In /VAR
--- /var -----------------------------------------------------------------------
/..
383.4 MiB [##########] /log
116.9 MiB [### ] /lib
100.0 MiB [## ] swap
61.0 MiB [# ] /cache
11.4 MiB [ ] /www
628.0 KiB [ ] /backups
52.0 KiB [ ] /tmp
28.0 KiB [ ] /spool
e 4.0 KiB [ ] /opt
e 4.0 KiB [ ] /mail
e 4.0 KiB [ ] /local
@ 0.0 B [ ] lock
@ 0.0 B [ ] run
``
I got it back up and running by doing the following:
sudo service pihole-FTL stop
sudo rm /etc/pihole/pihole-FTL.db
sudo service pihole-FTL start
Then rebooting the pi.
I had to "edit" the block list by deselecting one of the block list sources and saving to get it to read the block lists. I did this from the UI.
system
Closed
December 1, 2019, 8:54pm
4
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.