Hello, collegues.
I’m using a Teltonika RUT950 running firmware RUT9_R_00.07.03.4.
I noticed that the device’s flash memory is at 98% usage and non-stable ipsec tunnel connectivity.
Here is the df -h output:
Filesystem Size Used Available Use% Mounted on
/dev/root 9.8M 9.8M 0 100% /rom
tmpfs 61.0M 3.1M 57.9M 5% /tmp
/dev/mtdblock6 3.8M 3.7M 96.0K 98% /overlay
overlayfs:/overlay 3.8M 3.7M 96.0K 98% /
tmpfs 512.0K 0 512.0K 0% /dev
/dev/mtdblock7 576.0K 332.0K 244.0K 58% /log
I also checked the largest directories:
du -k /overlay | sort -nr | head -n 20
3896 /overlay
3895 /overlay/upper
1529 /overlay/upper/usr
1245 /overlay/upper/usr/lib
1120 /overlay/upper/usr/lib/mdcollectd
406 /overlay/upper/etc
284 /overlay/upper/usr/share/mobifd
284 /overlay/upper/usr/share
194 /overlay/upper/etc/profiles
108 /overlay/upper/usr/lib/opkg
76 /overlay/upper/etc/config
44 /overlay/upper/etc/mosquitto
34 /overlay/upper/etc/strongswan.d
19 /overlay/upper/etc/strongswan.d/charon
17 /overlay/upper/usr/lib/iptables
15 /overlay/upper/etc/ssl
13 /overlay/upper/etc/easy-rsa
7 /overlay/upper/lib/modules/5.4.221
7 /overlay/upper/lib/modules
7 /overlay/upper/lib
What is the safest way to free up space on the flash memory?
Are there recommended steps to clean up unnecessary files or logs manually?
Is it advisable to run firstboot to reset the system, considering there are no critical config changes?
Any help or suggestions would be greatly appreciated!
Thank you in advance.