shiekh
Posts: 22
Joined: Tue Dec 27, 2016 4:20 pm

Long life microsd

Sat Jan 27, 2018 2:58 am

I have heard that users find a normal microsd card does not last long in a Raspberry Pi, so was wondering if there was any advice on single level cards perhaps?

Apologies, I seem to have made this request twice; for some reason I though the first posting didn't make it.

n67
Posts: 938
Joined: Mon Oct 30, 2017 4:55 pm

Re: Long life microsd

Sat Jan 27, 2018 3:44 am

It depends entirely on what you are doing.

I and many others on the forum can certainly attest to having SD cards last seemingly forever (although forever isn't that long [about 6 years] in RPi terms). But we aren't reading/writing the card a lot - I do mostly software dev and that doesn't really thrash the card like a data collection application might.

So, it really boils down to if you are doing lots of card writing, you should re-think that and try to write to something else - either a hard disk or a network location.
"L'enfer, c'est les autres"

G fytc hsqr rum umpbq rm qyw rm rfc kmbq md rfgq dmpsk:

Epmu Sn!

J lnacjrw njbruh-carppnanm vxm rb mnuncrwp vh yxbcb!

pcmanbob
Posts: 9462
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: Long life microsd

Sat Jan 27, 2018 11:22 am

The best advice I can give is don't buy cheap SD cards from sites like ebay , aliexpress etc..

Buy well known makes from well known suppliers, personally I have always used Kingston SD cards and have not had any problems even with 2 pi's running 24/7 collecting speed test results every 15 min.
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

User avatar
HawaiianPi
Posts: 5838
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: Long life microsd

Sat Jan 27, 2018 11:57 am

Under most normal use cases a good quality SD card will last a very long time. If you plan on writing lots of data there are High Endurance SD cards you could try, but as suggested above, you might be better off storing your data on a USB HDD.
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

MaxK1
Posts: 1043
Joined: Sun Aug 26, 2012 11:34 pm

Re: Long life microsd

Sat Jan 27, 2018 1:45 pm

Turn off swap - it will silently kill your card if you get into "swap hell" by having multiple tabs open in a browser or running something that leaks memory like a sieve. If you then fall victim to the "OOM killer" then you are exceeding the capabilities of the pi. Look at reducing the amount of memory allocated to the GPU.
You are in a maze of twisty little passages, all alike.
When General Failure and Major Disaster get together, Private Parts usually suffers.

tpylkko
Posts: 409
Joined: Tue Oct 14, 2014 5:21 pm

Re: Long life microsd

Sun Jan 28, 2018 6:54 am

pcmanbob wrote:
Sat Jan 27, 2018 11:22 am
The best advice I can give is don't buy cheap SD cards from sites like ebay , aliexpress etc..

Buy well known makes from well known suppliers, personally I have always used Kingston SD cards and have not had any problems even with 2 pi's running 24/7 collecting speed test results every 15 min.
+1 just Google "fake flash memory ebay"

I have a SanDisk card bought from local computer electronics store on a pi that has been on 24/7 as a media server for 4 years.

Return to “Advanced users”