/overlay on WR3000 is only 6MB

Hello!

I just found out about this router and it has 16MB flash but when I execute df -h I am only getting 6.6MB can you please help me regain the missing 10MB?

root@OpenWrt:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 4.5M      4.5M         0 100% /rom
tmpfs                   117.3M    220.0K    117.1M   0% /tmp
/dev/mtdblock8            6.6M    360.0K      6.2M   5% /overlay
overlayfs:/overlay        6.6M    360.0K      6.2M   5% /
tmpfs                   512.0K         0    512.0K   0% /dev

Is the Openwrt firmware stored externally ?

You'll never get 16MB, read the flash size paragraph on top of https://openwrt.org/toh/start

cat /proc/mtd to understand where the rest went.

3 Likes

Right! Thanks for the reply. I should have looked better into TOH indeed.
I just did not pay attention to it. btw cat /proc/mtd results this:

mtd0: 00040000 00010000 "BL2"
mtd1: 00010000 00010000 "u-boot-env"
mtd2: 00010000 00010000 "Factory"
mtd3: 00010000 00010000 "bdinfo"
mtd4: 00080000 00010000 "FIP"
mtd5: 00f10000 00010000 "firmware"
mtd6: 00400000 00010000 "kernel"
mtd7: 00b10000 00010000 "rootfs"
mtd8: 00690000 00010000 "rootfs_data"

I think I understand the structure but I would be interested into modifying it to have more room for packages. Any idea?

Yes, it's doable, but it'll be your spare time project.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.