Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

SD Card Longevity

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Gregorean
Posts: 82
Joined: Tue 12 May 2020 11:41 am
Weather Station: Davis Vantage Pro 2
Operating System: Raspberry Pi 4B
Location: Amersfoort, The Netherlands
Contact:

Re: SD Card Longevity

Post by Gregorean »

Hello @watsonm, I have been using a 128GB Sandisk Extreme Pro USB 3.2 Solid State Flash Drive (€39,90) for a while now, previously I used a 32GB sd card.

This USB SSD works very fast 420MB/s read and 380MB/s write compared to an sd card. :P

I am using an RPI4B with Bullseye, and running CumulusMX admin on it, and a local NGINX web server for BCJKiwi MXUI website 2.23a.

I also wanted to write several things to RAM like you, put several things in fstab, but didn't run smoothly. :oops:

For example, if I wanted to put /var/log in the tmpfs then my MXUI website wouldn't start anymore, CumulusMX would.

I read somewhere that log2ram also worked well, I installed that and it works very well, just set the size of the ramdisk in the config and that's all.

This is the link https://github.com/azlux/log2ram where you can find an explanation and what you can change.

I hope you can do something with it.

Best regards Sjaak.
Weather Station: Amersfoort-Nieuwland, The Netherlands.
http://element14.synology.me
watsonm
Posts: 209
Joined: Sun 03 Jan 2016 3:39 pm
Weather Station: N96GY -but like Triggers Broom!!
Operating System: Raspberry Pi4 Vers:11 Bullseye
Location: Poundbury, Dorset

Re: SD Card Longevity

Post by watsonm »

Sjaak.
Thanks for that but my system is working OK for now. I have the following in my fstab:

tmpfs /var/tmp tmpfs defaults,noatime,mode=1777 0 0
tmpfs /var/log tmpfs defaults,noatime,mode=0755 0 0

and my df has the folowing entries:
tmpfs 972696 1512 971184 1% /var/log
tmpfs 972696 0 972696 0% /var/tmp

Which all seem to work OK. I'll have a look at log2ram and see if it of any use to me...
Regards Mike
Image
Raspberry Pi 4 Bullseye
Directly connected : BMP388 pressure sensor. DHT22 For internal Humidity/temp Sensor. PMS5003 Particle Sensor
Wireless connected: 3 (WS2083)Temp TXr's, WH57 Lightning Sensor, FO Solar sensor
Post Reply