3 ms·
Hey, about the raspberry pi, I have had a bunch of problems with it eating the micro SD cards, like they fail in six months or an year tops. I had countered thi
by a1o 3y ago
Hey, about the raspberry pi, I have had a bunch of problems with it eating the micro SD cards, like they fail in six months or an year tops. I had countered this for some little time by using it to boot and relaying to a hdd. How are you handling this? Is there some special micro SD card that doesn't fail as soon?
- FredPret 3y agoI noticed the same for certain cards. Are you getting genuine SanDisk? There are lots of counterfeits out there.
- josegomezgarcia 3y ago[flagged]
- a1o 3y agoThat's a good thing to check. I honestly don't know if the SanDisk micro SD cards I got are genuine - they look their part and have that plastic square thing that is placed inside the paper thing with SanDisk brand and all the numbers, but maybe the fake ones have caught up in their packaging. I have no idea how to make sure it's genuine though.
- FredPret 3y agoI think it should also have the shiny metallic sticker. There's probably a verification guide online somewhere
- gruez 3y agoThey make "high endurance " sd cards, typically marketed for dash cam use.
- stkdump 3y agoI am running 2 Raspberry Pis 24/7 for many years. Never had a micro SD fail.
- pgryko 3y agoStandard flash disks use wear leveling - which is not normally present on micro SD cards. Have a look at the SD cards that are designed for dash cams, body cams and industrial applications
- mordae 3y agoSanDisk used FTL (flash translation layer, wear leveling) on their SD cards at least way back in 2013. Single MLC block survived about 500 erases. FAT would kill it immediately otherwise.
- nfriedly 3y agoFrom what I've read, the power supply can make a big difference here, in addition to getting quality microSD cards. I've had a Pi Hole running on the same microSD for 6-7 years now with only one hiccup (and that was a software thing - a fresh install got it back up and running on the same microSD). It just has a regular SD card (not a high endurance one), but the power supply came from adafruit, and it's been connected to a UPS for most of its life.
- a1o 3y agoThe good power supply is a good thing, I used old Samsung USB chargers, I imagine they deliver an ok quality, but perhaps not as much as a phone has a big battery that can work as "big capacitor"/filter of sorts. The UPS is a good idea too, I probably need one here and power going out where I live is something that does happen occasionally.
- giuliomagnifico 3y agoTry to use DietPI or RAM logs, I’m using it since years and years without any sd card failure.
- matthew-wegner 3y agoThere are different types of flash storage: * SLC - 1 bit per electrical cell * MLC - 2 bits per cell * TLC - 3 bits per cell * QLC - 4 bits per cell You need SLC cards if you really want something to be long-lasting. You can find some at specialty places like Digikey, or labeled as "Industrial" in normal channels (i.e. Amazon sells both Kingston and Samsung 8GB industrial cards). They are both smaller capacity and more expensive, though. Also, if you're using a stock distribution not intended for a Pi, you probably have quite a lot of logs/etc churning, which can be cleaned up. If you aren't doing much with the Pi except a few common services, check out DietPi.
- zgluck 3y agoI went down that rabbit hole a few years ago. Many cards don't tolerate sudden power loss while writes are happening. The solution I found was these ATP micro SD cards (looks like the prices have increased like 3x though...) where the firmware is specifically designed to tolerate abuse: https://www.digikey.com/en/product-highlight/a/atp/industrial-grade-sd-sdhc-cards https://www.digikey.com/en/product-highlight/a/atp/industria... Perhaps there are other cheaper but still robust alternatives now?