Wnr2000v4 looses settings every reboot after sysupgrade


some time ago I upgraded my router (wnr2000v4) (https://wiki.openwrt.org/toh/netgear/wnr2000v4) to the latest available version. Everything works fine, except that everytime I reboot or remove the router from the power source, I loose all settings (ssh password, wlan, ....). I already googled and read something about that the jiffs2 partition is mounted on tmp ? but I have no clue how to fix that problem. So maybe someone can help me here :wink:
I also performed a reset of the jiffs2 and the issue is still there. I think it might be caused because my overlayfs isnt mounted under overlay:/overlay

System Log: https://pastebin.com/QJDbj7Ec
Kernel Log: aHR0cHM6Ly9wYXN0ZWJpbi5jb20vVkVYa3B1OHI= (unable to post more than 2 links, so I base64 encoded it :P)
"df -h" command output:

Filesystem                Size      Used Available Use% Mounted on
/dev/root                 2.5M      2.5M         0 100% /rom
tmpfs                    13.6M     76.0K     13.5M   1% /tmp
tmpfs                    13.6M     52.0K     13.6M   0% /tmp/root
overlayfs:/tmp/root      13.6M     52.0K     13.6M   0% /
tmpfs                   512.0K         0    512.0K   0% /dev

Thank in advance :slight_smile:

Means the rootfs image is too large, leaving not enough room to store persistent configuration. You will need to build yourself a smaller image to be able to keep persistent configurations.

okay, I will try that.

I did build a tiny version that is only 0.6 mb smaller than the original one and it is working. The problem is that I don't have luci and only ssh. My root partition is complaining about only havin ~76kb of free storage but when I look at the tmpfs partition I seem to have around 12mb free ??? may it be possible to resize the partition ?

nevermind I just downgraded back to 15.05.1 because it features luci and I can't build the image smaller :d
here is how to downgrade (for reference)

ssh root@
cd /tmp/
wget http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/openwrt-15.05.1-ar71xx-generic-wnr2000v4-squashfs-sysupgrade.bin
mtd -f -r write openwrt-15.05.1-ar71xx-generic-wnr2000v4-squashfs-sysupgrade.bin firmware

that's it, wait for reboot and your crappy router will work again.