Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5077

Troubleshooting • Re: Why are my 256GB SanDisk Ultra SD cards failing so often?

$
0
0
Opinions vary significantly about Amazon's trustworthiness for SD cards. I'd recommend buying SanDisk cards direct from WD's online store, it's about the only way to 100% guarantee genuine cards these days.

I don't know if this is what may be causing the issue, if the cards are genuine, but it could possibly be related to "preferred_erase_size", which I understand to be the size of the hardware flash cells/blocks. The larger the number, from what I understand, the more heavy the impact on the card from small writes (e.g. just routine background OS activity with logs, etc). You can get this number with the following command:

Code:

murph@raspberrypi:~ $ cat /sys/bus/mmc/devices/mmc0:*/preferred_erase_size4194304murph@raspberrypi:~ $ 
That's 4MB being reported from a SanDisk Edge 64GB card. It's the same on my SanDisk Edge 16GB cards. If you're seeing a big number there, your cards may be vulnerable to premature wear from small writes. That's my understanding from what I've managed to find on the net regarding microSD card durability as a Linux OS drive, I'm not an expert on it.

WD do have a couple of high endurance cards, marketed as being for security cameras, which might be worth a look. Although your use case isn't exactly a security camera, it's maybe not that different. They are the "SanDisk MAX ENDURANCE" and the "WD Purple SC Ultra Endurance". I don't know how much extra endurance they have over the regular SanDisk cards, or if it's just marketing, but they claim they are better for that purpose.

Statistics: Posted by Murph9000 — Sun Sep 01, 2024 8:29 pm



Viewing all articles
Browse latest Browse all 5077

Trending Articles