Log into your OpenWrt instance via SSH and install these prerequisites:
opkg update
opkg install parted losetup resize2fs
Now you can download and execute a helper script which will add the expansion to 100% free space on next boot:
wget -U "" -O expand-root.sh "https://openwrt.org/_export/code/docs/guide-user/advanced/expand_root?codeblock=0"
. ./expand-root.sh
Now reboot the device whenever convenient and afterwards you should see tons of new space using df -h
command:
Filesystem Size Used Available Use% Mounted on /dev/root 13.7G 52.0M 13.6G 0% / tmpfs 994.3M 200.0K 994.1M 0% /tmp tmpfs 512.0K 0 512.0K 0% /dev
source: Benjamin Höglinger-Stelzer