gurabli Posted September 10, 2019 Posted September 10, 2019 Hi, I just got my Orange Pi Zero for a Pihole. Running with a quality PSU and a SanDisk Ultra 16GB A1 card. Everything went perfectly fine, Pihole is the DNS for LAN, while my router handles WAN DNS (DNS over TLS with Cloudflare). I'm concerned a little bit about logging. What do you recommend to keep the sd card safe. I think Pihole is logging to /var/log/ whete running for less than 24 hours I have pihole.log 3MB size, with pihole.log.1 around 2MB. Is there a way to use log2ram for this or a good practice of log rotation, writing to RAM, etc? Your help is welcome!
Werner Posted September 10, 2019 Posted September 10, 2019 There should not be any need to change anything. Armbian comes with optimization to extend sd cards life. Check the section performance tweaks for more information: https://docs.armbian.com/
Recommended Posts