r/openwrt • u/wolfsilver00 • Mar 31 '26
MX4300 with 1gb flash, only has 100mb available for storage
Hello! Ive been using a linksys 4300:
https://openwrt.org/toh/linksys/mx4300#tab__openwrt_firmware
I wanted to install adguard home but realized that would leave me with little storage.. I remembered thinking that I had the space for a couple more packages so I checked the wiki again and yeah, it seems it should have 1gb available.

Any idea what I can do to actually access that storage space?
The partition layout is full of little partitions that I know not what they do, nor do they seem to be accesible.. This is for example the ones that have at least 1MiB:
fdisk -l | grep MiB
Disk /dev/mtdblock0: 1 MiB, 1048576 bytes, 2048 sectors
Disk /dev/mtdblock1: 1 MiB, 1048576 bytes, 2048 sectors
Disk /dev/mtdblock4: 3 MiB, 3145728 bytes, 6144 sectors
Disk /dev/mtdblock5: 3 MiB, 3145728 bytes, 6144 sectors
Disk /dev/mtdblock15: 1 MiB, 1048576 bytes, 2048 sectors
Disk /dev/mtdblock16: 1 MiB, 1048576 bytes, 2048 sectors
Disk /dev/mtdblock18: 1 MiB, 1048576 bytes, 2048 sectors
Disk /dev/mtdblock19: 1 MiB, 1048576 bytes, 2048 sectors
Disk /dev/mtdblock21: 175.25 MiB, 183762944 bytes, 358912 sectors
Disk /dev/mtdblock22: 167.25 MiB, 175374336 bytes, 342528 sectors
Disk /dev/mtdblock23: 175.25 MiB, 183762944 bytes, 358912 sectors
Disk /dev/mtdblock24: 167.25 MiB, 175374336 bytes, 342528 sectors
Disk /dev/mtdblock25: 4 MiB, 4194304 bytes, 8192 sectors
Disk /dev/mtdblock27: 121.75 MiB, 127664128 bytes, 249344 sectors
Disk /dev/mtdblock28: 4 MiB, 4194304 bytes, 8192 sectors
Disk /dev/mtdblock29: 25 MiB, 26214400 bytes, 51200 sectors
Disk /dev/mtdblock30: 353.5 MiB, 370671616 bytes, 723968 sectors
Disk /dev/mtdblock31: 146.5 MiB, 153616384 bytes, 300032 sectors
Disk /dev/ubiblock0_0: 7.51 MiB, 7872512 bytes, 15376 sectors
30 and 31 are half a gig together, they are not in the stock layout and I have no clue what they are for..

30 for example seems to not even be partitioned? I'm very confused and Id like to not brick the device by touching something I know nothing about
2
u/FreddyFerdiland Mar 31 '26
the oem partitioning reserves a huge space for the "kernel" and same again for backup kernel
openwrt just worked with it.
but sure, preserving oem partitioning doesn't matter if OEM debrick restores all partitioning... whybis the crazy partitioning preserved ?
but if you modify , then attended upgrade works ?
1
u/fr0llic Mar 31 '26
If boot loader check the signature/CRC on the eMMC, changing the layout would lead to a brick.
Using the storage as it is, should be doable, assuming you know which ones won't lead to a brick too :)
2
u/orev Mar 31 '26
Are you frequently installing package updates instead of reflashing? Every update adds another layer to the overlay, even if the files are "replacing" an existing one (updates don't replace packages in the read-only area, they are copies).
If so, you probably need to reflash with the current OpenWRT version you're using, and also stop installing updates. OpenWRT is not like other Linuxes where you want to install updates on a weekly basis.