[Dxspider-support] RPI 4 settings for reduced writes to SD card

JOSEPH REED joe at n9jr.com
Tue Mar 31 00:55:25 CEST 2020


A Class 10 SD card doesn’t fail in 6-9 months, but it will fail.  You have two USB 3 ports on the Pi 4.  The best and easiest way I know it to acquire an inexpensive USB SSD drive.  Attach it and clone the SD to the SSD but with different partition IDs.  Edit /boot/boot.txt and replace the partition ID of rootfs with the rootfs partition of the SSD.  You will boot from the SD, but after boot everything is on the SSD.

And you do not want to turn off swap!

Joe N9JR



> On Mar 30, 2020, at 7:36 AM, Michael Walker via Dxspider-support <dxspider-support at tobit.co.uk> wrote:
> 
> Hi All
> 
> A few weeks ago I moved my Cluster over to a RPI4 where it hums along nicely.  
> 
> I know from many weather stations that the SD card will go into a read only state in about 6-9 months as writes start to fail.  Running IOTOP tells me what we do significant writes to the card.
> 
> Does anyone have a list of things they do to minimize the writes?  
> 
> On my list I have:
> 
> Turn off the swap space
> Move /spider/data to a RAM disk
> Anything else?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.tobit.co.uk/pipermail/dxspider-support/attachments/20200330/bf318a79/attachment-0001.htm>


More information about the Dxspider-support mailing list