Hello,
I'm using openwrt for quite some years and in order to take most benefit of it, I'm using the root file system on an USB stick (my routers are tp-1043nd's).
I have loads of logging (lots of foregin port scans, etc.) constantly being written, which means that from time to time, the USB stick gets damaged for so much use (wearing) and needs to be replaced.
In the past, I tried to implement a OpenWrt RAID1 solution (two USB sticks in mirror), where I could replace a damaged USB stick without loosing the information (and with no downtime), but had no success...
Recently in another personal project I implemented a DIY NAS based on OpenMediaVault (OMV). I'm using an old PC and the NAS OS is running on an USB stick as well. However, OMV seem to be sensitive to the USB wearing issue and use a plugin called "OpenMediaVault flashmemory" (AKA Folder2RAM), which I believe it creates some virtual folders in the device's RAM in order to avoid excessive writing on the USB stick.
I realised that a similar solution would also be useful for OpenWRT, although I know that typically OpenWrt's Router RAM is much more humble than a PC (even though old).
I imagine lots of OpenWRT users also use a USB stick in their routers and would also have similar problems and would therefore be interested in something like that.
Would it be easy to somehow port this functionality to OpenWRT? Would it make sense? I mean, how many people would actually benefit from it?
Any thoughts?
Thanks,
Jabss