2 ms·
Pi SD cards seem to be extremely reliable, I have not had issues with Amazon SanDisks. Especially not if you get a bigger one than you need to spread wear more.
by eternityforest 2y ago
Pi SD cards seem to be extremely reliable, I have not had issues with Amazon SanDisks. Especially not if you get a bigger one than you need to spread wear more.
I've probably spammed this comment an obnoxious number of times already, but I think a lot of the problem is that IIRC HA still writes logs as they happen. Filesystems don't like small frequent writes, it makes write amplification happen.
I handle logging by buffering everything in RAM, and optionally only saving min/max/avg data, on top of only logging points that are specifically configured.
I have a script to set up /var/log as a ramdisk, along with a few other things things I've found can occasionally go wrong and write a bunch of stuff.
But I don't use HA, or have any idea how hard it would be to do this kind of thing in HA.