Re: SD Card Longevity
Posted: Mon 14 Mar 2022 2:46 pm
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.
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.
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.
This USB SSD works very fast 420MB/s read and 380MB/s write compared to an sd card.
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.
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.