SSD as Long Term Storage Testing
htwingnut.com
htwingnut.com
Flash memory in a freezer (assuming you don't have cold-induced circuit board failures due to CTE mismatch) could last hundreds of years. In a hot car, maybe a month. https://www.curtisswrightds.com/media-center/blog/extended-t...
None of that is particularly surprising, but what's interesting is that write endurance can have the opposite effect... Writing at high temperature (followed by cooling to ambient... or lower) actually improves data retention over just writing at ambient.
That's still rather disturbing, since I have datasheets for NAND flash from around 2 decades ago that specify 10 years retention after 100K cycles (although probably at 25C), and some slightly newer ones with 5 years / 1.5K cycles (MLC); and also explains the increasing secrecy surrounding the flash industry. The very few I could find for TLC don't even mention retention and endurance is vaguely specified, and refer you to some, probably super-secret, qualification report for the actual numbers.
Then again, perhaps I shouldn't be surprised ever since they came up with the misnomers that are "TLC" and now "QLC", and nearly drove SLC to extinction. I don't want 3x or 4x more storage for the same price (or 1/3 or 1/4 the price) if it's 1/8th or 1/16th exponentially more unreliable --- that's how the physics works and there's no way around that --- but that's what they seem to be pushing for.
You can get $13 128GB TLC SSDs as mentioned in the article but I don't see any $39 128GB SLC SSDs being made, nor $13 ~40GB SLC SSDs, despite the fact that such a device would have the exact same cost per NAND cell (and as a bonus, be much faster and simpler since SLC needs much less ECC and advanced wear leveling algorithms than TLC/QLC.)
Shouldn’t it be 2^3 times more expensive than TLC? IOW a $104 128GB SLC SSD or a $13 16GB SLC SSD.
Edit: guess you’re right userbinator
And those cell modes are usually determined by the firmware/hardware controller of the NAND memory.
The more bits stored per cell, the greater is the degradation. SLC-mode requires in average 2.2 times more erase cycles than MLC to achieve the same error rate [1].
So the differences in prices make it look as if some manufacturers are playing with us...
[1] https://www.researchgate.net/publication/254005562_Software_...
PS: QLC-mode is the worst in all terms, the highest degradation and lower speed.
So technically it's up to firmware to decide, assuming the hardware have stuff (ADC/DAC etc.) to handle it would be possible.
A few years ago Samsung Pro SSDs were MLC disks, but suddenly they changed them to TLC. They are shameless for calling them 3bit-MLC that is pure oxymoron. 3bits per cell is TLC-mode, and the degradation is higher than a MLC-mode. Basically, it is a price increase by deceiving the consumer (to achieve this, they have reduced the characteristics of their other lines also. shameless).
>>"client class SSD must maintain its data integrity at the defined BER for only 500 hours at 52°C (less than 21 days) or 96 hours at 66°C (only four days)."
great April fools joke
Great idea. Hopefully I never have to try and read data from it.
Given the non-ideal state of the car, I think the plan would be to just replace that drive on an annual basis.
Given unfortunate circumstances, I might lose the home one day (fire, burglary) or the car, but unlikely to be both.
When we're talking ideals, it shouldn't come as a surprise that two fundamentally different things desire two fundamentally different ideal environments.
People desire practical technological solutions to serve their needs. A box of "spinning rust" doesn't desire much of anything. A CPU is just a rock that's better at arithmetic than another rock.
Making more copies, with some geographic distribution, is more important than the durability of any particular technology. This applies to everything from SSDs, HDDs, CDs, to paper, to DNA.
If you want your data to last, replicate it all the time.
This is what I do. I hate doing it, but it's for posterity's sake. I'd be lost without certain data. I have old virtual machine disk images that I've been using for years, ISOs of obscure software, and other rarities. Every 4 years I buy a new 4TB HDD and copy over files to a freshly bought disk.
That's not actually the case is it?!?!?!
4 TB drives are dirt cheap. If someone would really be "lost" without this data, having some redundancy would be inexpensive and easy.
I forget how ZFS behaves if a mirror is missing drives though, if some are off-site. Hopefully it's smart enough to let you do that and just rotate through.
You’d have better luck making a full (manual) copy most likely (ZFS send/recv, or mirror then un-mirror even better), assuming you’d run a scrub after.
Or manually make checksum files I guess. I’ve done that, less ‘magic’ that way.
Can you expand on that?
The purpose and benefit of a zfs mirror is that every disk in the mirror contains everything. So it's expensive in space usage, but great for reliability. As long as any one of the disks in a mirror survives, you can recover everything.
So if you have one ‘live’ copy, create a mirror, then sever the relationship before taking the external device offline, it’s fine.
Even taking it offline sometimes when it’s a normal live mirror is fine (though it will complain of course, depending on how it’s done).
But if you want to make copies, so add a bunch of mirrors, taking them offline ‘forever’ (really over multiple boot cycles) it makes the running ZFS instance angry because it expects those mirror copies to still be accessible somewhere (after all, ZFS is a live filesystem) and will keep trying to use/access them, and won’t be able to.
I don’t think you’ll lose data or brick anything, but it will be a hassle at some point.
Also, if you reconnect those old instances, it will try to resilver the older copies (and hence modify them).
Which is not what I would want for an archive, unless I manually told it to do so anyway.
Which is easy enough to do of course even after severing the mirror relationship later, albeit with more disk I/O.
I’ve done this kind of archiving before, there is built in ZFS support for making a new zpool when splitting mirrors this way, and it works well.
The way I ended up doing it was primary/secondary disks (both external hard drives).
Setup as a mirror, copy archive data over. Split the mirror, now you have two (slightly differently named) unmirrored zpools with identical data that can both be mounted at the same time, scrubbed independently, etc.
Having one of them ‘live’ and the other one the archived copy (on the external disk) would be trivial, and allows you to zpool export the archived/external copy, name it with the date it was made, etc. - which is what you want to make everyone happy.
P.S. if doing this, be REALLY careful about what kernel/OS/ZFS features you are using with your pools or you can end up with an unmountable ZFS copy! (As I found out). Built-in ZFS encryption is a major footgun here. Better to use dmcrypt style encryption for several reasons.
> taking them offline ‘forever’ (really over multiple boot cycles) it makes the running ZFS instance angry because it expects those mirror copies to still be accessible somewhere
If a drive dies that's normal, it can be removed from the pool.
> Also, if you reconnect those old instances, it will try to resilver the older copies (and hence modify them).
I mean yes, because that's what one would want if it is a mirror. Every device should contain the same data so if one drive comes back from the dead it should be resilvered to be up to date.
If what you need is archival as opposed to a mirror pool, I'd say use snapshot and send to preserve that point in time in a backup somewhere.
I think it’s nearly impossible to actually ZFS import a pool from just a single detached drive too if the original is nuked, but I imagine there is some special magic operation that might make it possible.
Splitting the new disk off into it’s own pool doesn’t have any of these issues, and is a much cleaner way to handle it.
I used to do that but found it to be a gamble. I have files back to the 80s, so I rotated them from 5.25" floppies to 3.5" floppies to zip drives to CD-R and the DVD-R. But it's a fragile system, files can get corrupted somewhere along the line and if I didn't migrate in time it can be hard to go back. For instance I lost a handful of files during the iomega zip drive phase when the drive died and I had no way to recover (and the files weren't that important to try to source a new iomega drive).
Now I simply keep everything online in a big zfs mirror pool.
Fight Flash Fraud (f3)
https://github.com/AltraMayor/f3
One could setup a destructive wear-test, but results may not be generalized between lots with identical model number. This is because some manufactures sell performant products for early reviews/shills, and eventually start cost-optimizing the identical product sku with degraded performance.
As annoying as the bait-and-switch trend became, for off-brand consumer hardware YMMV.
Good luck =)
I never understood the point of cheaping out on storage media.
Look, I get it. Most of us have budgets to work with, not all of us can afford enterprise 40TB Kioxia SSDs or enterprise HDDs hot off the presses.
But if I actually, truly care about my data I'm going to at least shell out for (brand new!) drives from reputable brands like Samsung, Crucial, Seagate, Western Digital, Kingston, and so on. The ease of mind is worth the cost, as far as I'm concerned.
What is the rationale behind buying used drives, or drives from off-brand vendors of unknown or even ill reputation? Aside from just goofing around, I mean. I never can justify the idea, no matter how strapped for cash I could be.
When you have that, cheaping out on storage doesn’t matter so much anymore.
I'm talking about saving a dime on cheapo, non-reputable drives only to then spend extra time verifying they are actually fit for service.
Why? Why would someone do this? I'm of the mind that buying a drive from a reputable vendor and saving yourself the time of verification and other red tape is worth the additional cost premium.
Personally, I have used f3 to identify counterfeit/buggy hardware. However, direct manufacturer sales or large retail-chain outlets have proven far more trustworthy than online 3rd party sales options.
It is also something people do if the hardware serial number looks suspicious. =)
I have a lot of fun doing so.
If your stack uses anything dependent on classic transactional integrity, than the long term hidden IT costs of cheap ssd failures don't make sense.
"buy cheap, buy twice" as they say. =)
(I agree in principle that used or off brand drives seem insane to me, but at the same time, I do live on laptops I buy used so their drives are actually used as well :/)
On spinning rust there is practically no difference on reliability (assuming you buy drives designed for 24/7 not some green shit), just that you can attach SAS to it. We got stacks of dead drives to prove it.
> What is the rationale behind buying used drives, or drives from off-brand vendors of unknown or even ill reputation? Aside from just goofing around, I mean. I never can justify the idea, no matter how strapped for cash I could be.
That the flash is the same but strapped to different controller.
And if you truly care about your data you want redundancy, not more expensive storage. Put saved money into getting your home server with ECC memory(in home) or having one extra node or hot spare (in work).
Let’s say that the worn disks are found to have failed the hash check in year 1 and the fresh disks are found to have failed in year 2. Can you conclude that worn and fresh are equally bad? No, you can’t, because maybe the fresh disks were still OK in year 1 — but you didn’t check them in year 1.
As another example, suppose the worn disks are found to be good in year 1 but the fresh disks are found to be bad in year 2. This seems like an unlikely result, but if it happened, what could you conclude? Well, you can’t conclude anything. Maybe worn is better because they are still good in year 2, but you aren’t checking them in year 2. Maybe fresh is better because the worn will fail in year 1.1 but the fresh last until year 1.9 before failing. Maybe all the disks fail in year 1.5 so they are equally bad.
I think it’s better to test the disks at the same intervals since you can always draw a conclusion.
Curiously, acrylic plastic is one of the best materials to absorb highly energetic particles https://www.space.com/21561-space-exploration-radiation-prot...
If you're really worried about cosmic rays, maybe you could try to figure out their predominant direction of travel for your location, then store your SSD in an orientation that minimizes its cross-sectional area. I naively assume they're coming from straight up?
Related, I was wondering how I'm going to learn of the results of the submitted article. Calendar reminder with a link to the blog perhaps? Putting my email address somewhere would be much preferred for me tbh but I didn't see any sign-up form.
I don't think this can really be answered unless we get something like the reliability report from blackblaze. Still, i hope I'll read about the final result of the article in a few years.
I have read CD-RWs of approximately the same age with no data loss.
SSDs sacrifice durability of data for io speed
You'd at least hope that enterprise SSDs with a Dell sticker on them are better.
I do wish the test had more than $13 TLC drives though.
But my optical backs were completely a disaster. Just a little bit over 5 years, over 50% were not able to read out, ~30% could be read but content were corrupted. There might be ~10% still good but too time consuming to check so I dumped them all. I still have optical drives but I cannot really remember when was the last time used it any more.
For SSDs, I've a couple of them left in cold for around 3 years, just checked a couple of days ago, seems to be good. I'm not sure how much longer they can hold, as there were known issues with Samsung 840 serials.