this post was submitted on 12 Aug 2024
688 points (98.6% liked)
Technology
59578 readers
3412 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Sigh...
A couple of years ago there were discussions on how stupid 20+tb harddrives were, mainly because they are so slow that the time it takes for files to transfer to a spinning disk was too long.
Let's say you have a good 20tb drive and it can transfer files at 200MB/s. To fill that drive, it'll take 1 day and 8 hours of continuous transfer. If it's failing, and you're trying to get as much off of it you're screwed.
Now let's think about that micro SD card. It's 4tb, and let's be gracious and give it a v90 speed class. That's 90MB/s. Looking at a calculation for the time it takes to fill it up, we're sitting at about 14h and 14 minutes. Worst part is that SD cards don't have SMART, meaning you don't know when they'll die.
From my experience, even good SD cards die in my raspberry pi running pihole, and the cards runs idle almost all the time.
Also there's this thing that the higher capacity a storage device gets, the more valueable the data stored on it becomes, not directly because it's high capacity, but because it's more trusted by the user.
Guys, gals and anyone in between, please get a proper storage solution, something that won't fail spontaneously. If you need that kind of capacity, go for a Nas with spare drives, or at least get an ssd.
/end rant
The raspberry pi is about the worst case scenario for SD cards. It may be idle, but an operating system is still making constant reads and writes, which absolutely eat through an SD card
There is a thing called Log2Ram that can help with it for Pis. I run it in my PiHoles
I've started just booting them from USB. I have Home Assistant running on a pi with an ssd in an external enclosure and it's been completely issue free.