How to setup RAID

Well, or use the sdcard with minimized writes, like the OpenWrt or MX Linux “frugal” base system.