Raspberry Pi And The Story Of SD Card Corruption | Hackaday
Posted by jpluimers on 2023/10/02
[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):
- Ingoing phase L3 (which is outgoing phase L1) before the electricity meter (the 240V/25A fuse was fully blown); the power distribution company arrived within an hour to fix this
- The power supply of the microcontroller of our Victron Energy battery
- A fuse in our solar system
- The network switch and Apple TV in our living room (which we cannot get to from UPS power due too a building construction issue: the PVC pipes going there are all filled with concrete)
- The fan/light in one of our bedrooms
- A few USB power bricks
- The USB ports of a combined power/USB outlet
Within a few months, 3 more motors of the roller sunshade/shutters died as well as the garage door motor.
Some neighbours had small electronics die. Their bigger electronics survived.
Lightning in The Netherlands on 20181111 via [Wayback/Archive] KNMI – Onweerarchief at [Wayback/Archive] 20181111.png (681×613):
Those were challenging times already (the real struggle began in fall 2019):
- [Wayback/Archive] Jeroen Wiert Pluimers on Twitter: “@matijn @ReneGerritsen @NvCronenburg Nicolette blijft zich verbazen hoe het kan dat we in korte tijd dit hadden: blikseminslag op de dijk met schade, kaartjes top2000 winnen, GGZ traject, boom die naast je valt, Corendon 747 om de hoek, auto die voor je neus duikt en je met 130 km/h een goede noodstop maakt.”
Nicolette continues to be amazed how impossible it still feels that we had this happening in a short period of time: lightning strike on the dike with EMP damage, winning tickets in the top2000, mental health care trajectory, tree that falls down next to you, Corendon 747 around the corner, car that moves in front of you to force an emergency stop at 130 km/h.
So it took a while to get some of the stuff repaired:
- [Wayback/Archive] Jeroen Wiert Pluimers on Twitter: “En weer een werkende ventilator op de slaapkamer. Voor het eerst sinds de grote blikseminslag. Zo druk is het met zorgtaken sinds november geweest. “
- [Wayback/Archive] Jeroen Wiert Pluimers on Twitter: “De soldeer was listiger dan gedacht, maar gelukt. Na schoonmaken (vette flux die het soldeer goed laat vloeien eraf), laten drogen emopnieuw solderen nu de montage. Hier komen die magneetjes aan de achterkant de Aldi vershoud-deksel enorm van pas: schroefjes staan rechtop (: “
- [Wayback/Archive] Jeroen Wiert Pluimers on Twitter: “Voor @rulesbyrosita : ik moet zo een soldeerklusje doen, dus relatief koel tijdstip uitgekozen. Vermoeid, dus die magneetjes in zowel de soldeermat, de deksels van Aldi vershoud-doosjes en op de punt van schroevendraaier maken het makkelijker. Nu eerst werkstukhouder monteren. “
–jeroen
Pictures directly after the lightning strike
Lightning app screenshot
[Wayback/Archive] photos.app.goo.gl/cdhS5RrB3zaXBpRU7
Roof and surroundings the day after
[Wayback/Archive] photos.app.goo.gl/Ui15fG1kXngAq6Hy5
Power meter L3 incoming
[Wayback/Archive] https://photos.app.goo.gl/iCiQ74FQrAQSV26v9
Meterboard
[Wayback/Archive] photos.app.goo.gl/5vyxrfXtpyL6yPo89
Victron energy power supply and panel
[Wayback/Archive] photos.app.goo.gl/FAr1JydVRCDPWHZ17
[Wayback/Archive] photos.app.goo.gl/1r9586NuEC6TcvSX6
[Wayback/Archive] photos.app.goo.gl/jfaMB8G4iQ4dRbNW6
Solar inverter
[Wayback/Archive] photos.app.goo.gl/jkHrqcngmB1aWGC1A
Leave a comment