OpenWrt Forum Archive

Topic: free space problem?

The content of this topic has been archived on 26 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I have build my own compilation and try to use maximum space available. It works fine with old versions. Image size is


-rw-r--r--  1 apache apache 3932160 окт 31  2012 openwrt-ar71xx-generic-tl-wr740n-v4-squashfs-factory.bin
-rw-r--r--  1 apache apache 3670020 окт 31  2012 openwrt-ar71xx-generic-tl-wr740n-v4-squashfs-sysupgrade.bin

this leaves around 100k free space. Here is mount points on old working build:

root@OpenWrt:~# df -h
Filesystem                Size      Used Available Use% Mounted on
rootfs                  320.0K    240.0K     80.0K  75% /
/dev/root                 2.8M      2.8M         0 100% /rom
tmpfs                    14.4M     88.0K     14.3M   1% /tmp
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/mtdblock3          320.0K    240.0K     80.0K  75% /overlay
overlayfs:/overlay      320.0K    240.0K     80.0K  75% /

Everythink is normal and works without problem. Here is the new build (today downloading of sources AA build 40498)

root@OpenWrt:~# df -h
Filesystem                Size      Used Available Use% Mounted on
rootfs                  320.0K    224.0K     96.0K  70% /
/dev/root                 2.8M      2.8M         0 100% /rom
tmpfs                    14.3M    340.0K     14.0M   2% /tmp
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/mtdblock3          320.0K    224.0K     96.0K  70% /tmp/overlay
root                     14.3M     36.0K     14.3M   0% /tmp/root
overlayfs:/tmp/root      14.3M     36.0K     14.3M   0% /tmp/root
/dev/mtdblock3          320.0K    224.0K     96.0K  70% /overlay
overlayfs:/overlay      320.0K    224.0K     96.0K  70% /

I can create/save files in / folder, change password (must not happend). but wireless configuration is lost after reboot. I guess it is writen in /tmp/root folder.
Any advice how to fix that? Except rebuild and make more free space.

(Last edited by nedoskiv on 13 Apr 2014, 16:05)

Sometimes for me the cold reset 30/30/30 use to solve a lot of issues (that actualyclears the NVRAM) with configuration saving, although I'm not sure if now the space is the problem.

The discussion might have continued from here.