arevindh/pihole-speedtest

Can I run Pi-Hole Speedtest on Read Only file system?

Closed this issue · 4 comments

Sorry in advance, I dont know where to ask questions so I'm doing it here.
In order to extend the life of my sd card I have enabled the Read Only File system in raspi-config.
Can I still use the Pi-Hole Speed Test in ROFS?
thanks in advance
Ben

Yes possible. Just put the DB files in RAM.

Location

/etc/pihole/speedtest.db
/etc/pihole/pihole-FTL.db

The files can be also moved to other locations by doing so via the config file.

Is that where I need to move them to?
If not, how do I move them to RAM?

Thank you

How did you setup your ROFS?

If /etc/pihole/ is already in RAM. You don't need to do anything, since gravity.db, pihole-FTL.db and speedtest.db are in RAM.

Stale issue