LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-10-2024, 04:18 AM   #1
Completely Clueless
Member
 
Registered: Mar 2008
Location: Marbella, Spain
Distribution: Many and various...
Posts: 899

Rep: Reputation: 70
SD cards - how long do they last?


Hi all,

Can anyone tell me how long SD cards last in read-only mode?
I've had this embedded SD card Linux installation running on a Raspberry Pi for over 10 years now and it's been flawless so far. The card is only read-from (has the tab in the RO mode position) as there's no need for anything to be written to it in this app. I'm just wondering how long it'll continue to function for? Do these cards need to be 'refreshed' by overwriting every so many years or are they good for 'life' -whatever that is?
Many thanks,

CC.
 
Old 03-10-2024, 05:20 AM   #2
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,496

Rep: Reputation: Disabled
As long as you have a good back up, like a duplicate card, I wouldn't worry too much, but to answer your question, it likely depends on the quality of the card.

(I think 10 years is a long time, & I for sure would ensure you have that back up.)

Last edited by fatmac; 03-10-2024 at 05:22 AM.
 
Old 03-10-2024, 08:14 AM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,855

Rep: Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311
I guess it depends on how many times do you switch it on and off too, otherwise it may work for 20 years or even more. As it was mentioned a good (working) backup will help in case of a trouble.
 
Old 03-10-2024, 12:36 PM   #4
Completely Clueless
Member
 
Registered: Mar 2008
Location: Marbella, Spain
Distribution: Many and various...
Posts: 899

Original Poster
Rep: Reputation: 70
Question

Quote:
Originally Posted by pan64 View Post
I guess it depends on how many times do you switch it on and off too, otherwise it may work for 20 years or even more. As it was mentioned a good (working) backup will help in case of a trouble.
Unfortunately it won't. The application is within a safe and the Pi has the job of enabling it to be opened at certain restricted times only. So if the card fails, it won't be possible to get access to the Pi and the failed card. They'll be locked away with the rest of the contents until such time as the safe is broken open by force, which will be messy and costly.

IIRC, the old floppy disks were prone to losing data over relatively short periods of time. I'd hoped for better from SD cards. I'm just wondering if re-writing the card afresh would set the clock back and give it a new lease of life?
 
Old 03-10-2024, 01:10 PM   #5
rclark
Member
 
Registered: Jul 2008
Location: Montana USA
Distribution: KUbuntu, Fedora (KDE), PI OS
Posts: 482

Rep: Reputation: 179Reputation: 179
Why not 'open' the safe, remove the card, copy the card, replace the card. And your good for another 10 years or so with piece of mind . They are so cheap. Replace once a year if you want... I am starting to use those white Sandisk high endurance SD cards for my PIs that use SD cards (some boot from a USB SSD drive which is another option). Not the speediest but I think more 'reliable'. Actually I don't think the problem is so much reading, but writing data. It is why an SSD usually has a TBW (Terabytes written) rating before the SSD starts to degrade. Constantly powered up 'should' be good for years if just reading.

The question I have is build up of heat in a sealed safe.... Which brings me to the next question of a power cord that must be routed inside. How does 'that' work for a safe?

Last edited by rclark; 03-10-2024 at 01:14 PM.
 
Old 03-10-2024, 05:50 PM   #6
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Here's a video about storage life expectancy:

https://www.youtube.com/watch?v=xA9Xq7hb6Q0
 
Old 03-10-2024, 07:29 PM   #7
Completely Clueless
Member
 
Registered: Mar 2008
Location: Marbella, Spain
Distribution: Many and various...
Posts: 899

Original Poster
Rep: Reputation: 70
Thanks, all. Looks like I really am pushing my luck with this card at 10 years and need to do an urgent refresh!
 
Old 03-11-2024, 03:06 AM   #8
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,855

Rep: Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311
Quote:
Originally Posted by Completely Clueless View Post
Unfortunately it won't. The application is within a safe and the Pi has the job of enabling it to be opened at certain restricted times only. So if the card fails, it won't be possible to get access to the Pi and the failed card. They'll be locked away with the rest of the contents until such time as the safe is broken open by force, which will be messy and costly.
As far as I see it is a serious risk by itself. Not only the card can die, but the Pi itself too. But I think it is another story
 
Old 03-12-2024, 03:34 PM   #9
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,987

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
An SD card is not very reliable despite what the OEM say MTBF.
 
  


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
Get first day of last month and last day of last month in bash xowl Linux - Software 18 02-09-2017 09:49 AM
Aboout "with very long lines",how long is very long? yun1st Linux - Newbie 4 07-20-2012 03:38 PM
long long long: Too long for GCC Kenny_Strawn Programming 5 09-18-2010 01:14 AM
Is they a "Best Linux" or are they really all just the same? siweb Linux - Distributions 7 08-02-2004 05:09 PM
Apache PhP MSQL - if they come with fedora core 1 where are they Virtualhate Linux - Newbie 1 05-16-2004 08:33 PM

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

All times are GMT -5. The time now is 04:04 PM.

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