Increase SD Card Lifetime with fs2arm

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

Increase SD Card Lifetime with fs2arm

Postby Neand1980 » Tue Mar 01, 2016 10:12 am

Hello together,

someone told me to use fs2ram to increase the SD Card Lifetime. But i cant find this package. Is there something alternative, which i could use?
Neand1980
 
Posts: 6
Joined: Tue Jan 12, 2016 7:27 am

Re: Increase SD Card Lifetime with fs2arm

Postby ThaWalrus » Thu Mar 03, 2016 2:38 pm

I usually tell people you don't have to worry too much about the lifetime of an SD card.

Question on askubuntu.com. fs2ram keeps temporary files where they are across reboots, but I don't know of an alternative.
ThaWalrus
 
Posts: 9
Joined: Sat Oct 11, 2014 6:55 pm

Re: Increase SD Card Lifetime with fs2arm

Postby crashmaster » Fri Mar 11, 2016 5:01 am

'fs2ram' only makes sense in very rare cases. If nothing has to be changed, but it's really not a recommendation for everybody i think.

What you can do is stopping to write read access times to files and mounting /tmp, /var/log, etc. into tmpfs (ramdisk). This minimizes write accesses a lot.

In addition i replaced ext4 by f2fs as root filesystem (the Arch kernel is configured for and can boot it) because in my opinion ext4 is not the first choice for a sdcard (although for beginners a journaled filesystem is). ;)

Doing so i never had a fault with sdcards and i use them on two RPis continuously since nearly 2 years ago.

Regards, CM.
crashmaster
 
Posts: 119
Joined: Wed Mar 13, 2013 1:00 am


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 2 guests