mwan3,RTNETLINK answers: No space left on device

hello,everyone,
i was build a taaget board, it wokrs good,but ,when i used the luci-app-mwan3,it reports a error.
i search all the error information, but theres no one can resolv.
it saids that :slight_smile:
/etc/init.d/mwan3 reload
RTNETLINK answers: No space left on device
RTNETLINK answers: No space left on device

Filesystem                Size      Used Available Use% Mounted on
/dev/root                13.3M     13.3M         0 100% /rom
tmpfs                    59.5M    424.0K     59.1M   1% /tmp
/dev/mmcblk0p1          475.2M     45.5M    400.7M  10% /
tmpfs                   512.0K         0    512.0K   0% /dev

i have enough space,i have use the sd-card

You have run out of space on your root.

Create a backup of your configuration, reset the device, try to reinstall packages one by one, restore your configuration. You can try to configure extroot with your SD card, then install packages you desire.

1 Like

this firmware is build by myself ,so ,all the package has installed,i just configure extroot in fiirst boot ,then is happend, very thank u to anser my question ,could you give me more advise ? tku!!!!

i had build agin ,the first boot ,and i run the script,it happend agin,

root@OpenWrt:~# df -h 
Filesystem                Size      Used Available Use% Mounted on
/dev/root                12.8M     12.8M         0 100% /rom
tmpfs                    59.5M    324.0K     59.2M   1% /tmp
tmpfs                    59.5M     80.0K     59.4M   0% /tmp/root
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/mtdblock6          704.0K     76.0K    628.0K  11% /overlay
overlayfs:/overlay      704.0K     76.0K    628.0K  11% /
root@OpenWrt:~# /etc/init.d/mwan3 restart 
RTNETLINK answers: No space left on device
RTNETLINK answers: No space left on device

Remove some packages from the buildroot, configure extroot, after running extroot, install the desired packages.

1 Like

but another device ,the rom is also 100%,13.5m,it works ok?the spi flash is the same ,

You have to have definitely free some nodes on SPI flash, I cannot remember how much exactly, but I would free at least 40kB in order to run the system. When you run out of SPI flash, how you are going to store your extroot configuration on SPI flash when you do not have any space there? Then you configure extroot for the SD card and after running extroot you can install the packages you removed from buildroot. After you will be happy with the system, you can backup the SD card and extroot configuration and you are done.

i build a small target,and configure the extroot at firstboot,then i install the mwan3,it happend,so ,i really don't know how to use it ,

root@OpenWrt:/tmp# opkg install mwan3_2.10.13-1_all.ipk
Installing mwan3 (2.10.13-1) to root...
Configuring mwan3.
RTNETLINK answers: No space left on device
RTNETLINK answers: No space left on device
root@OpenWrt:/tmp# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                11.5M     11.5M         0 100% /rom
tmpfs                    59.5M    340.0K     59.2M   1% /tmp
/dev/mmcblk0p1          475.2M     41.1M    405.1M   9% /
tmpfs                   512.0K         0    512.0K   0% /dev

Check the install destination in opkg.conf in etc.