Hacker News new | ask | show | jobs
by alias_neo 522 days ago
I used to run a Pi as a Wireguard entrypoint to my home network, I made the filesystem read-only and created a RAM disk and moved logs and any other writes to it to protect the longevity of the uSD, it had the added benefit of security of a read-only FS. I'd remount it r/w occasionally and run updates. It ran flawlessly for years (at a time when I was killing a Sandisk uSD in Pis roughly once per week) until I decommissioned it.
1 comments

I've been running a public facing weather website on my RPi2 since 2014. I am still on the same SD card since all HTML assets and logs are on tmpfs. The only thing being written to the SD card are entries to the DB once every 5 minutes.
That's pretty sweet.

My suspicion about the many uSD cards I've killed is power issues, power loss, etc. In terms of wear, I don't think a typical Pi would be doing enough to wear them out unless it was being hammered.