[Wayback/Archive] Raspberry Pi And The Story Of SD Card Corruption | Hackaday is long and worth reading.
For me the most important bits are how to prevent SD card wear:
- use good quality power supplies
- put write-heavy operations to SSD
- if it suits your use-case, use OverlayFS
The first is always a good idea. It is the primary reason all our electronics live behind a UPS:
- before doing that we lost too much equipment due to brownouts
- all equipment survived the electromagnetic pulse (EMP) after a 2018 lightning strike
In addition, I posted my personal experience (Samsung microSD cards last way longer than SanDisk cards) on Twitter:
[Wayback/Archive] @hackaday I’m have been running a few Raspberry Pi systems with 8-32Gb micro-SD cards as web-dashboard with refreshes every few minutes or so: much write access. When using Sandisk (no matter the type) they last about a year, Samsung (no matter the type) cards last multiple years.
Via: [Wayback/Archive] hackaday on Twitter: “Raspberry Pi And The Story Of SD Card Corruption https://t.co/R8KNVmQORD” / Twitter
EMP
We had a lightning strike in the evening on 20181111 some 50 meters from our home.
It killed immediately killed this (some pictures further below):





