4 ms·
I've never experienced this SD card corruption, even when power goes down to the Pi. I believe it happens, but I wonder what my unique circumstances are. Is it
by bitwize 6y ago
I've never experienced this SD card corruption, even when power goes down to the Pi. I believe it happens, but I wonder what my unique circumstances are. Is it that I always use Samsung or SanDisk SD cards with the Pi?
- shiftpgdn 6y agoThose will still eventually die due to log being written to the card using all available read/write cycles.
- bitwize 6y agoThat's a problem that will eventually affect any flash solution -- SD card, SSD, or USB flash.
- megous 6y agoThey usually just stop accepting writes (silently). It's a bit of a head scratcher at first. But at least it doesn't lead to a complete data loss.
- puzzlingcaptcha 6y agoYou mean /var/log or filesystem log? What about using non-journaling filesystems or keeping /var/log on a ramdisk?
- CharlesW 6y ago> Is it that I always use Samsung or SanDisk SD cards with the Pi? Quite possibly! Flash memory is absolutely not all the same. I wish someone would do for SD cards what Backblaze does for hard drives.
- cptskippy 6y ago> Is it that I always use Samsung or SanDisk SD cards with the Pi? Oddly enough, Samsung, SanDisk, and Sony are the three brands I've had die on me. I had a GoPro eat two Sony cards in less than a year, I switched to SanDisk Endurance and it's been plugging along for about 2 years now. I've had one Samsung and a couple SanDisk SD cards die in Raspberry Pi's. I'm currently using MicroCenter, AData and one other lower tier brand that have held up much better than the name brands.