Why LuCi and "df -h" shows only 32 MB of flash memory while OpenWRT wiki says my router have 128 MB?

I have router ASUS RT-AX53U.

OpenWRT wiki page (https://openwrt.org/toh/asus/rt-ax53u) says it have 128 MB of flash memory. But LuCi shows that I have only 33.04 MiB of flash memory (I can see it on "Overview -> Storage -> Disk Space" and "System -> Software" pages).

df -h output:

Filesystem                Size      Used Available Use% Mounted on
/dev/root                 4.3M      4.3M         0 100% /rom
tmpfs                   122.2M     10.1M    112.1M   8% /tmp
/dev/ubi0_1              33.0M     27.9M      3.4M  89% /overlay
overlayfs:/overlay       33.0M     27.9M      3.4M  89% /
tmpfs                   512.0K         0    512.0K   0% /dev

Where is remaining storage?

It is oem A/B partitions and then some seemingly useless ubi left cutting another half.
If you have serial connection you may try to work out whether spare ubi blob is needed for reverting to oem.

1 Like

Yeah as per brada4.

As you're logged into SSH can check out the other flash partitions. Or even just go into backup in luci and dump the other flash partitions?

Or you can check device tree in source for partition layout?

Or cat /proc/mtd etc?

1 Like