Hacker News new | past | comments | ask | show | jobs | submit login

Living in a North American city with power wires being above ground, I have had so many power outages in the last five year, it was kind of a crazy thing to get used to. My Pi would not deal well with power outages when running through the SD card and so I stopped using it.



I've had a raspberry pi and pihole going on the same SD card for approximately seven years now.

I also regularly reboot the pi by simply cycling power.

The solution was fairly simple. Send the linux log files to /dev/null (or whatever it is actually called, i.e. RAM) and disable query logging in pihole.

That's it. Helps greatly!


I ran it on an old laptop and never had issues. The extra ram and cpu + actual disk hd gave me ~99% uptime even after power outage no sd card corruption. Laptop auto rebooted on crash too.




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: