TIL that SSDs can lose data if left unplugged for long periods of time (only required to hold data up to 1 year), unlike HDDs which as long as the material holds it can take years.
-
@djlink that is a very poor-quality source; modern SSDs indeed hold data for years, and powering them also doesn't increase data retention; they're not in any technical sense related to static (which needs constant power, very little) or dynamic RAM (which needs refresh cycles every few milliseconds).
You can be pretty certain that a not end-of-write-life SSD will retain data for years to decades. If you care, some SSDs actually specify more than just a overall MTBF (often in the 10⁶ h)@djlink I'm not even sure where the myth that powering on helps data retention comes from; the last thing an SSD would want to do to increase data reliability would be doing any writing in the background.
-
@drahardja they don’t make tech as they used to xD
@djlink Heh heh, I know you’re joking, but I think the engineering balance has shifted. We want faster access, higher data density, smaller sizes, and fewer moving parts. Data longevity beyond 1–3 years of non-use is not even a selling factor any more.
-
TIL that SSDs can lose data if left unplugged for long periods of time (only required to hold data up to 1 year), unlike HDDs which as long as the material holds it can take years.
Edit: added link: https://www.slashgear.com/1893447/dont-leave-your-old-ssd-unplugged/
@djlink thank you for the reminder to plug in my backup drive
-
TIL that SSDs can lose data if left unplugged for long periods of time (only required to hold data up to 1 year), unlike HDDs which as long as the material holds it can take years.
Edit: added link: https://www.slashgear.com/1893447/dont-leave-your-old-ssd-unplugged/
@djlink i grew up thinking that the data stored in drives was permanent, but then quickly learned about the unfortunate reality of entropy

-
@djlink I'm not even sure where the myth that powering on helps data retention comes from; the last thing an SSD would want to do to increase data reliability would be doing any writing in the background.
@djlink note that yes, there's JESD218, but that specifies a lower limit (and indeed 1 a) for powered off data retention at the point in time when your SSD has reached its specified write volume; yes, electrons tunnel out of flash cells' gate capacitors, but as long as you've not written these to the end of their capacitance (erasing&rewriting makes these capacitors worse), this can all be accounted for by the SSD itself.
(the powering off is not a penalty to the SSD! Just the test condition!) -
@djlink IMO the only material proven to hold digital data for decades at this point is tape, as evidenced by the tape reels they keep finding in storage warehouses whose contents are successfully read back https://www.tomshardware.com/software/linux/recovered-unix-v4-tape-quickly-yields-a-usable-operating-system-nostalgia-addicts-can-now-boot-up-unix-v4-in-a-browser-window
I suppose HDDs can hold archival data, but there are way more ways for spinning discs to fail than tape when stored for long periods of time. But maybe we can use magnetic microscopy to recover their data even if their circuits have died, their motors have failed, or their lubricants have died out. https://garnerproducts.com/hubfs/ucsd_recovery_of_partially_degaussed-hdds.pdf
@drahardja @djlink tape storage has its own risks due to the fact it's exposed to the elements. I've heard of cases where audio tape gets mouldy, flaky, sticky, magnetised / demagnetised, disintegrates, unrolls, crinkles, etc.
-
@drahardja @djlink tape storage has its own risks due to the fact it's exposed to the elements. I've heard of cases where audio tape gets mouldy, flaky, sticky, magnetised / demagnetised, disintegrates, unrolls, crinkles, etc.
-
@drahardja @djlink I'd imagine you'd need more controlled conditions for tape than the others - they probably don't care so much about temperature, humidity and magnetism. Memory is basically impervious to everything except time and electricity.
-
@djlink that is a very poor-quality source; modern SSDs indeed hold data for years, and powering them also doesn't increase data retention; they're not in any technical sense related to static (which needs constant power, very little) or dynamic RAM (which needs refresh cycles every few milliseconds).
You can be pretty certain that a not end-of-write-life SSD will retain data for years to decades. If you care, some SSDs actually specify more than just a overall MTBF (often in the 10⁶ h)@funkylab @djlink
Not powered off they don't.
An HDD can wear out with use but 25 years is easy for storage in a drawer or box in the attic. Floppy storage is far trickier.
Tape needs carefully stored.
Pressed DVDs* and especially pressed CDs are OK, but "written" ones can fade in daylight.[* Assuming no manufacturing defects]
-
@djlink on topic: I’ve today plugged in a Compact Flash card that hasn’t been powered in more than 3 years.
Perfect data retention.
Took a quick dd image of it, just in case.
@digitalstefan @djlink
The highest capacity CF car I have is 1G Byte. It's about x3 the area of the 512G Byte SSD. So the cells could be over 2000x bigger. Likely to be more stable.I have a 1T micro SD Card in an ex-Chromebook running Linux Mint (64K Flash drive). I don't expect much life from it even powered mostly daily, but the contents are on my server, 2x workstations and a "real" laptop. The 2x workstations and laptop each have SSD and an HDD for user data.
-
TIL that SSDs can lose data if left unplugged for long periods of time (only required to hold data up to 1 year), unlike HDDs which as long as the material holds it can take years.
Edit: added link: https://www.slashgear.com/1893447/dont-leave-your-old-ssd-unplugged/
@djlink what about SD cards?
-
@drahardja @djlink I'd imagine you'd need more controlled conditions for tape than the others - they probably don't care so much about temperature, humidity and magnetism. Memory is basically impervious to everything except time and electricity.
@mossman @drahardja @djlink
Magneto-0ptical is the best easily re-writable for stability but due to lack of capacity went out of fashion by the late 1990s. I think about 256M for 3.5". I presume minidiscs are the same stuff, so likely to outlast "mix" cassette tapes and MP3s on SD cards. -
@funkylab @djlink
Not powered off they don't.
An HDD can wear out with use but 25 years is easy for storage in a drawer or box in the attic. Floppy storage is far trickier.
Tape needs carefully stored.
Pressed DVDs* and especially pressed CDs are OK, but "written" ones can fade in daylight.[* Assuming no manufacturing defects]
@raymaccarthy @djlink Ray, I'm sorry, but do you actually understand how flash memory works? powering on the SSD does exactly *nothing* to the cells until you at least read them (in which case you get a slight read wear on the cell and its neighbors), and you won't increase the charge levels inside a cell unless you erase and rewrite it, which does more damage, so the speed of charge leaking is higher than if you've just let the data alone.
(I mean, you're an EE – so model your gate capacitor!
-
@raymaccarthy @djlink Ray, I'm sorry, but do you actually understand how flash memory works? powering on the SSD does exactly *nothing* to the cells until you at least read them (in which case you get a slight read wear on the cell and its neighbors), and you won't increase the charge levels inside a cell unless you erase and rewrite it, which does more damage, so the speed of charge leaking is higher than if you've just let the data alone.
(I mean, you're an EE – so model your gate capacitor!
@raymaccarthy @djlink … the charge it holds is your bits (mutliple, because on most SSDs these days you get more than two states); the only way that loses data is by tunneling of charge through the dielectric, which follows a shot noise model. Information-theoretically, we call this a "Z-channel", because you can only get from higher to lower states, never the other way around.
Now, if left alone, a couple of these bits will actually flip – that's why there's extensive forward error correction – -
@raymaccarthy @djlink … the charge it holds is your bits (mutliple, because on most SSDs these days you get more than two states); the only way that loses data is by tunneling of charge through the dielectric, which follows a shot noise model. Information-theoretically, we call this a "Z-channel", because you can only get from higher to lower states, never the other way around.
Now, if left alone, a couple of these bits will actually flip – that's why there's extensive forward error correction –@raymaccarthy @djlink but as long as the number of these high->low state degradations is small enough, that's correctable. Flash memory is already, without long-term storage effects, a lossy medium, which you have to design your error correction for!
So, when an SSD manufacturer designs that error correction (namely, which code to use, and thus how many bits per information word to add as redundancy), they have to design it in such a way that at some erase-write cycle reliability they want to -
@raymaccarthy @djlink but as long as the number of these high->low state degradations is small enough, that's correctable. Flash memory is already, without long-term storage effects, a lossy medium, which you have to design your error correction for!
So, when an SSD manufacturer designs that error correction (namely, which code to use, and thus how many bits per information word to add as redundancy), they have to design it in such a way that at some erase-write cycle reliability they want to@raymaccarthy @djlink sell to the customer. But that same redundancy that helps when cells' dielectric layers degrade due to repeated high-voltage "zapping" (right, you apply a high |E| to the cell to implant charge in flash memory!) and doesn't hold charge as well also helps with long-term storage. Just that the effect of "time and temperature", as you can imagine, is a lot smaller than the effect of "make that dielectric experience what would be called a breakdown if it was macroscopic"!
Hence -
@raymaccarthy @djlink sell to the customer. But that same redundancy that helps when cells' dielectric layers degrade due to repeated high-voltage "zapping" (right, you apply a high |E| to the cell to implant charge in flash memory!) and doesn't hold charge as well also helps with long-term storage. Just that the effect of "time and temperature", as you can imagine, is a lot smaller than the effect of "make that dielectric experience what would be called a breakdown if it was macroscopic"!
Hence@raymaccarthy @djlink I'm really not sure where the idea that a powered SSD would be more reliable than an unpowered one – that could only be true if it would be re-writing itself in the background, which would, counter to the intent, make it wear out faster, unless the SSD is essentially unused and the re-writing was free to use arbitrary much rarely or never used pages to copy the data to. But even that would be very undesirable – who wants an SSD with a standby power usage as if written to?)
-
@digitalstefan @djlink
The highest capacity CF car I have is 1G Byte. It's about x3 the area of the 512G Byte SSD. So the cells could be over 2000x bigger. Likely to be more stable.I have a 1T micro SD Card in an ex-Chromebook running Linux Mint (64K Flash drive). I don't expect much life from it even powered mostly daily, but the contents are on my server, 2x workstations and a "real" laptop. The 2x workstations and laptop each have SSD and an HDD for user data.
@raymaccarthy @djlink It's a wonder that we have such sophisticated storage options, but finding out that data retention is poor for SSD's is a bit unnerving.
I have a good backup strategy at home, but I would be annoyed if I lost data to this kind of problem.
My "proper" storage journey started with an 80MB 2.5" HD in an Amiga an has culminated in a 2TB and 4TB SSD in my PC, 2TB in my Framework laptop, 2TB MacBook and 2TB SSD + 2TB microSD in a Steamdeck.
Bonkers, if you think about it.
-
@raymaccarthy @djlink Ray, I'm sorry, but do you actually understand how flash memory works? powering on the SSD does exactly *nothing* to the cells until you at least read them (in which case you get a slight read wear on the cell and its neighbors), and you won't increase the charge levels inside a cell unless you erase and rewrite it, which does more damage, so the speed of charge leaking is higher than if you've just let the data alone.
(I mean, you're an EE – so model your gate capacitor!
@funkylab @djlink
There are no ideal options for SSD. That's why I have backups and the user data on my workstations and main laptop is on HDD (conventional, not shingled or helium etc). The OS is easily installed and restored from backup on a new SSD.
The point is that an unused conventional HDD will last for decades. That's unlikely for SSDs or any high capacity SD card, USB stick etc. -
@funkylab @djlink
There are no ideal options for SSD. That's why I have backups and the user data on my workstations and main laptop is on HDD (conventional, not shingled or helium etc). The OS is easily installed and restored from backup on a new SSD.
The point is that an unused conventional HDD will last for decades. That's unlikely for SSDs or any high capacity SD card, USB stick etc.@raymaccarthy @djlink I honestly find the opposite to be the case - HDDs can expose mechanical degradations (air barriers, motor bearings) that tend to work against you when you leave them unpowered. But this isn't about HDDs; it's about the myth that powering on an SSD will help data retention.