First, stop the service:
sudo service pihole-FTL stop
If your disk is already full, first delete the pihole-FTL.db file by doing:
sudo rm /etc/pihole-FTL.db
Then add MAXDBDAYS configuration in your /etc/pihole/pihole-FTL.conf file as follows:
- sudo vi /etc/pihole/pihole-FTL.conf
- Add a new line in the config file: "MAXDBDAYS=30" (e.g. if you want logging kept for 30 days)
- :wq command to save and quit vi
And start the service:
sudo service pihole-FTL start
That should allow your pi-hole installation to operate for a long time. FYI I see about 300MB pihole-FTL.db size after 30 days in my home network.