4 ms·
> Don't use SD/microSD storage for these things. It's terrible for a number of reasons. Is it, really? My microSDs have already handled more lifetime writes th
by AshamedCaptain 4y ago
> Don't use SD/microSD storage for these things. It's terrible for a number of reasons.
Is it, really? My microSDs have already handled more lifetime writes than all IDE HDDs I ever had combined.
- daneel_w 4y agoI don't buy it, because it contradicts the very nature of flash storage. Unless you used your IDE HDDs as piñatas, that is. But the problems specific to SD/microSD and USB flash drives are more than limited longevity. The underlying SDIO protocol/interface of this storage type has several shortcomings making it awful for general operating system use entailing frequent intermixed writes and reads, including bringing the whole storage (and with it the OS) to a complete read-blocked freeze during extended and small rapid writes.
- mike_d 4y agoTell that to the original Raspberry Pi's floating around that are old enough to be enrolled in high school.
- mardifoufs 4y agoOn their original SD card? Probably not, especially on the earlier raspi models.
- daneel_w 4y agoI have, on numerous occasions. It's one of the reasons why general desktop use on them can be so infuriating.
- li2uR3ce 4y agoThat's not been my experience with the original Pis. We ended up mounting cards as read only because they wouldn't last otherwise. Syslog and various other processes, even with light IO would render the cards useless after a month or two.
- daneel_w 4y agoAlso: a lot of OS distributions aimed at SBCs with microSD storage forgetting to set noatime/relatime on their file systems, to avoid thousands upon thousands of writes for access time updates whenever files are read. It's only just recently that OS vendors finally woke up and realized what was going on.
- megous 4y agorelatime is default option since forever. (certainly since before rpi was even a thing) https://elixir.bootlin.com/linux/v2.6.30/source/fs/namespace.c#L1936 https://elixir.bootlin.com/linux/v2.6.30/source/fs/namespace... (some random old kernel)
- daneel_w 4y agoThat's good info and news to me. "relatime" is unfortunately a silent killer as well, albeit nowhere near as intense as "strictatime".
- mrb 4y agoWere they high-endurance SD cards? In my experience, people usually aren't aware there is a difference between standard and high-endurance SD cards. The former should last years on a light I/O raspberry pi workload.
- Dylan16807 4y agoOkay, so don't use 90% of SD cards.
- cevn 4y agoI have old raspis, the SD card failed.
- ilyt 4y ago"Hey, original Raspberry Pi, you have no bulk flash storage on board so I don't know why this guy is trying to get you into unrelated discussion about durability of bulk flash storage in the first place!" Here, I told it. Also they are "just" 11 years old so you've managed to be wrong on everything you said somehow..
- AshamedCaptain 4y ago> I don't buy it, because it contradicts the very nature of flash storage. No, it really doesn't. Besides, both capacities _and_ performance have increased a lot since the top-of-the-line IDE HDDs. It's easy enough to see that e.g. a user of a Steam Deck probably writes daily a couple orders of magnitude more to a microSD than even a heavy a Windows 98 user did to its HDD. Even the writes caused by desfragmenting your average era HDD daily is practically peanuts to a TB microSD, but it was definitely not peanuts to the HDD itself. > The underlying SDIO protocol/interface of this storage type has several shortcomings making it awful for general operating system use entailing frequent intermixed writes and reads We are comparing this to IDE. Not NVME on top of PCIe. TL;DR I have a pile of broken microSD hards, but I also have a larger pile of broken old HDDs.
- anthk 4y agoMy old w98 machine had a 60 GB disk and for sure lasted far more than microSD's.
- BirAdam 4y agoThat could be survivor bias.
- anthk 4y agoNo, the common usage.
- walrus01 4y ago60GB in a windows 98 machine is honestly huge in an era when a 20GB IBM HDD sold for $440 in 1998-1999 pre inflation currency. Equivalent to about $785 today.
- anthk 4y agoW98 was used until the WXP SP2 era. Not so expensive if you had it by 2001.
- 4y ago
- Legion 4y agoPerson 1: "Here is my lived experience." Person 2: "I don't buy it." Internet in a nutshell.
- interroboink 4y agoI think this often comes up when one person is talking about personal experience, and another person is talking about general advice. One person's anecdote does not necessarily prove any larger point. They might have gotten (un)lucky, live or work in a particular environment/context that doesn't apply generally, etc. On the other hand, dismissing someone's anecdote because you have some Larger Point axe to grind is also a bit crap (:
- ihatepython 4y agoThis isn't my experience. You must be using a different Internet
- hakfoo 4y agoI think part of it has to do with the workloads you're using. If you're using it as a disc replacement for, say, a 286/386, it comes from an era where disc performance was far worse, so the software is usually not going to hit the disc gratuitiously. Also, dealing with an adapter that's single-threaded and taps out at 25Mbps isn't a big deal when you're dealing with an environment with primitive cooperative multitasking (i. e. DOS/Win3) and attached via a bus that tops out at half that. Now, it could be an issue in later systems-- something like a late 486 or beyond, where it has a local-bus/VL-bus/PCI disc controller and might be used with Linux or Windows NT might work poorly with those adapters, but then you're probably able to use a commercial PATA or SATA+adaptor SSD.
- thescriptkiddie 4y agoSD cards don't have wear leveling like real SSDs.
- megous 4y agoSD cards have wear leveling. Probably comparable in principle to dramless SSDs. I/O interface sucks, though.
- BizarreByte 4y agoSome SD cards do, some don’t. When I use them as HDs in vintage computers I get those that do.
- snvzz 4y agoHow can you tell which are the ones?
- deleted 4y ago[deleted]
- Tor3 4y ago> My microSDs have already handled more lifetime writes than all IDE HDDs I ever had combined. In practice it's hard to tell without real statistics. I've had two Raspberry Pi setups running off microSD cards for many years now, as actively used CUPS hosts for printers. No problems whatsoever. On the other hand I have some other Pi setups where one of them suddenly suffered an extremely hot microSD card and I just had to yank it out (I was logged in at the time and the system froze). Same type microSD as the other two (Sandisk). The card was gone, the Pi survived. That got me a bit nervous and I used an SSD instead afterwards. So, it's all anecdotal - two microSD cards working flawlessly for many years, another failing catastrophically after a relatively short time. Usage pattern approximately the same.