I'm very new to Openwrt and this stuff in general. I recently purchased a NanoPi R4S and I am running Openwrt from an SD card. I've installed Adguard Home but whenever I add block lists / filters it says there isn't enough storage available and bricks my router leaving me to re-flash and start from scratch.
I've looked at the guides to expand the storage of the root partition and honestly, I'm very confused, a lot of the guides refer to using an external USB whereas other say just create a partition and mount it. I've tried manually resizing the partition with parted and it doesn't work...
Honestly, I'm clueless and would appreciate anyone help / guidance!
The script on the page Expanding root partition and filesystem mentions that it is for x86 target. However, I have used it on various other targets that use an SD card image with success. Your mileage may vary. I would recommend making a copy of your SD card and trying it that way if it doesn't work you haven't lost anything.
I had the same problem on BPI-R4; cfdisk worked. If it doesn't work, "dd" the image to your SD card and try again. The expanding root they were talking about applies to ext4, not overlayfs.