How to expand the space of overlay

Hello
everyone
My device is ubnt-erx and zbt-we1326
How to expand the space of overlay?
Because its space is too small to install too many software, and the space of tmp is too large, too wasteful

root@UBNT:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 1.8M      1.8M         0 100% /rom
tmpfs                   123.9M    108.0K    123.8M   0% /tmp
/dev/ubi0_1             213.4M      7.1M    201.6M   3% /overlay
overlayfs:/overlay      213.4M      7.1M    201.6M   3% /
tmpfs                   512.0K         0    512.0K   0% /dev
 root@zbt:~# df -h
 Filesystem                Size      Used Available Use% Mounted on
 /dev/root                 2.5M      2.5M         0 100% /rom
 tmpfs                   250.7M      1.3M    249.4M   1% /tmp
 /dev/mtdblock6           11.5M      7.0M      4.5M  61% /overlay
 overlayfs:/overlay       11.5M      7.0M      4.5M  61% /
 tmpfs                   512.0K         0    512.0K   0% /dev

Thanks for your reply!

1 Like

You can't trade the space of /tmp for space in /overlay. The first one is RAM, the second is flash.

2 Likes
1 Like

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