LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-29-2024, 05:23 AM   #1
Completely Clueless
Member
 
Registered: Mar 2008
Location: Marbella, Spain
Distribution: Many and various...
Posts: 899

Rep: Reputation: 70
SD card shelf-life


Hi all,
In a related thread, I asked if it was safe to continue using a 10 year old SD card in an embedded application even if it was in read-only mode the whole time. The consensus seemed to be that it should be replaced without further delay. Now, I have replaced the card in question with a brand new one and dd'd the data from the old card onto it and am feeling smugly secure now for the next 10 years as a result. However, it does kind of beg the question: does the 'data integrity clock' start running from the time the card is manufactured or from the time it's last written to? In other words, rather than replacing the old card, could I have got away with just over-writing it freshly with the same data as originally on it? Would that have got me another 10 years with it?
cheers,
Jinxie

Last edited by Completely Clueless; 03-29-2024 at 04:13 PM.
 
Old 03-29-2024, 05:45 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,297

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
The thing I have heard most about is the low write cycles on sd cards.If you held an sdcard for 10 years and it still worked, I might approach the Guinness Book of records with the oldest sd card in service .

OTOH, if you wanted this data to be written continuously for ten years, and chose to store it for that time on an sdcard, we wouldn't think you're clever. But we know little of the application. If the data was cached, it might not have been exercised. Posters here can't give negative reputation, but perhaps the moderators would make an exception .

Last edited by business_kid; 03-29-2024 at 05:50 AM.
 
Old 03-29-2024, 06:23 AM   #3
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,493

Rep: Reputation: Disabled
SD cards should last a reasonable time in read only mode, but won't last too long if being constantly written to.

(It's the same with pendrives.)

Regular disk drives are built for lots of read/write cycles, so last longer - but then, how long is a piece of string....

If it is important, spend the money, & change it fairly regularly - only you know how important it is.
 
1 members found this post helpful.
Old 04-03-2024, 03:50 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,985

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
They publish MTBF for them and they seem to fail way before that guess.

I'd have a clone of the drive and a good backup. Any flash media is subject to total failure.
 
Old 04-03-2024, 05:02 PM   #5
Completely Clueless
Member
 
Registered: Mar 2008
Location: Marbella, Spain
Distribution: Many and various...
Posts: 899

Original Poster
Rep: Reputation: 70
Quote:
Originally Posted by jefro View Post
They publish MTBF for them and they seem to fail way before that guess.

I'd have a clone of the drive and a good backup. Any flash media is subject to total failure.
Well, I just wonder how many savers and investors have huge amounts of money in the form of Bitcoin stashed away on such flash drives, on the unquestioning assumption that they'll be good for ever? Most such people would be my guess - and most of those again blissfully unaware of the dangers of stray magnetic fields. The ever-increasing prevalence of powerful neodymium-boron magnets in many common, day-to-day objects magnifying that danger again by an order of magnitude!
 
Old 04-03-2024, 05:13 PM   #6
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,631

Rep: Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697
The newest ones made with the newer technology have the potential to last a LOT longer. But all storage fails, just make sure you have a backup.
 
Old 04-03-2024, 05:42 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,985

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
I think Bitcoin is a Ponzi scheme so I don't care if they go south.

I'm waiting on ultra computers so I can print my money and drive down their coins.
 
1 members found this post helpful.
Old 04-03-2024, 06:00 PM   #8
Completely Clueless
Member
 
Registered: Mar 2008
Location: Marbella, Spain
Distribution: Many and various...
Posts: 899

Original Poster
Rep: Reputation: 70
Quote:
Originally Posted by jefro View Post
I think Bitcoin is a Ponzi scheme so I don't care if they go south.

I'm waiting on ultra computers so I can print my money and drive down their coins.
These e-coins are not serious investments and anyone who believes they are must be delusional. They should be regarded in the same light as playing slots at a casino IMV. You can have a bit of fun if you can afford to lose it all - which you will if you stay in the game long enough.
So good luck with your ultra computer and I'll be laughing along with you if you pull it off!
 
Old 04-03-2024, 06:36 PM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,704

Rep: Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897
A flash drive that is not powered will slowly lose its charge but data retention is maybe 10 years. I have a few that are at least 10 years old that I check every once in a while and have not lost anything and (There is nothing worth saving on them regardless) plugging them in does reset their charge. There is also something called read disturbance where a large number of reads could corrupt nearby cells causing errors.

In your case the memory is constantly powered, once booted the system probably does not access the drive much so there should not be any read disturbance. IMHO it is better to be safe then sorry and replace the drive as a precautionary measure.
 
Old 04-03-2024, 07:10 PM   #10
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,126
Blog Entries: 2

Rep: Reputation: 260Reputation: 260Reputation: 260
Somewhere I still have some sdcards that are probably 15+ years old, maybe older (8-128MB). If I find them, I'll see if the data on them is still readable.
 
Old 04-04-2024, 07:03 AM   #11
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,297

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Quote:
Originally Posted by michaelk
I have a few that are at least 10 years old that I check every once in a while and have not lost anything and (There is nothing worth saving on them regardless) plugging them in does reset their charge.
Are you sure it resets the charge? Being a hardware head, I'm trying to imagine the mechanism whereby 'resetting the charge' actually happens. Of course my education contained nearly as much about thermionic valves ('tubes' to folks in the Excited States) as semiconductors. Wafer fab was then measured in micrometres.

EDIT: I can't imagine myself wanting much that's 10 years old. And if I did, an sdcard is the LAST place I'd leave it.

Last edited by business_kid; 04-04-2024 at 08:06 AM.
 
Old 04-04-2024, 07:34 AM   #12
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,704

Rep: Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897
Maybe not. I suppose then the only way would be to copy the data and then rewrite it back.
 
Old 04-04-2024, 10:53 AM   #13
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,631

Rep: Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697
Quote:
Originally Posted by michaelk View Post
Maybe not. I suppose then the only way would be to copy the data and then rewrite it back.
That would be the better approach.
The media is different, as is the mechanism, but the user principal is the same. I have floppy disks from the 1970s that I cannot rewrite because they were written in quad density on CP/M machines that I no longer have. I have floppy disks from the late 1980s that I can refresh, if I can just resurrect one of my DOS machines and the floppy drive still works. After all this time the information on those floppies is getting weak and difficult to read. Normal magnetic flux from the earth's fields, 120MHz hum from the power lines in the walls, and just normal aging has slowly erased the media. If you have media with data of value you back it up, but also read and rewrite the data on some schedule to prevent degradation and normal aging from destroying your data in place. If you have tapes, you at least run and rewind them occasionally to prevent the tape from sticking or getting so brittle it becomes worthless.
Consider it part of your normal maintenance routine.
 
Old 04-04-2024, 03:28 PM   #14
rclark
Member
 
Registered: Jul 2008
Location: Montana USA
Distribution: KUbuntu, Fedora (KDE), PI OS
Posts: 480

Rep: Reputation: 179Reputation: 179
My philosophy on data is simple. Always keep the data you want 'spinning'. Period. Obviously keep backups and off-site backups of that data. Since one frequently backups up data (or should), the backup media will always be on media that you can restore from if necessary and the 'spinning' data will be on the latest media type (in my case SSDs). Never just backup data and then delete your spinning data to save space or something. Disk space is cheap. Use it. You'll always be able to go back to old data if needed. When you pass (happens to all of us), your kids can save/delete whatever they want, but you'll be past caring at that point.

SD cards are cheap, but buy good ones. I've started to buy the 'durable' ones (more expensive) even though a bit slower. Most SD card situations, speed isn't why you use them.

Last edited by rclark; 04-04-2024 at 03:31 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Review: Ubuntu LTS 16.04.02 has a long shelf life LXer Syndicated Linux News 0 09-07-2017 08:17 PM
Anyone know of a good off-the-shelf NAS that supports NFS? netboy_541 Linux - Hardware 1 11-12-2008 10:41 AM
rsync to an off-the-shelf NAS JacekZ Linux - Networking 3 08-21-2006 08:32 PM
Is there any off the shelf wlan cards for FC5? tds2000_us Linux - Wireless Networking 1 07-30-2006 01:55 PM
Off the Shelf Desktop and Laptop PC's fieldyweb Linux - Hardware 6 02-18-2006 05:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration