3 ms·
I have two Pi's on remote locations. One is abused with power cuts, the other one not. The one with the power cuts is still alive, the other one had a corrupted
by Fnoord 8y ago
I have two Pi's on remote locations. One is abused with power cuts, the other one not. The one with the power cuts is still alive, the other one had a corrupted microSD card which I just could not repair, and the system would hang (if I reinstalled it was OK again). Both Pi's have /var/log and a bunch of other locations mounted with tmpfs (so, in memory instead of on microSD) with swap off.
After the advice from a fellow HN reader [1] I bought a bunch of aMLC microSD cards from DigiKey. No S&H costs and it literally arrived 1,5 days later (from Springfield to The Netherlands) though I had to pay import tax. Needless to say, they've been rock stable. I'm using one in a Pi and one in a Dafang camera [2]. I still gotta replace the microSD cards in the remote Pi's though but I'll do it once they break (again).
[1] https://news.ycombinator.com/item?id=16777238 https://news.ycombinator.com/item?id=16777238
[2] https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks