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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-10-2024, 04:18 AM
|
#1
|
Member
Registered: Mar 2008
Location: Marbella, Spain
Distribution: Many and various...
Posts: 913
Rep:
|
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.
|
|
|
03-10-2024, 05:20 AM
|
#2
|
LQ Guru
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: One main distro, & some smaller ones casually.
Posts: 5,820
Rep: 
|
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.
|
|
|
03-10-2024, 08:14 AM
|
#3
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,961
|
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.
|
|
|
03-10-2024, 12:36 PM
|
#4
|
Member
Registered: Mar 2008
Location: Marbella, Spain
Distribution: Many and various...
Posts: 913
Original Poster
Rep:
|
Quote:
Originally Posted by pan64
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?
|
|
|
03-10-2024, 01:10 PM
|
#5
|
Member
Registered: Jul 2008
Location: Montana USA
Distribution: KUbuntu, Fedora (KDE), PI OS
Posts: 628
|
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.
|
|
|
03-10-2024, 05:50 PM
|
#6
|
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Rep: 
|
Here's a video about storage life expectancy:
https://www.youtube.com/watch?v=xA9Xq7hb6Q0
|
|
|
03-10-2024, 07:29 PM
|
#7
|
Member
Registered: Mar 2008
Location: Marbella, Spain
Distribution: Many and various...
Posts: 913
Original Poster
Rep:
|
Thanks, all. Looks like I really am pushing my luck with this card at 10 years and need to do an urgent refresh!
|
|
|
03-11-2024, 03:06 AM
|
#8
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,961
|
Quote:
Originally Posted by Completely Clueless
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
|
|
|
03-12-2024, 03:34 PM
|
#9
|
Moderator
Registered: Mar 2008
Posts: 22,345
|
An SD card is not very reliable despite what the OEM say MTBF.
|
|
|
All times are GMT -5. The time now is 06:00 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|