As I need more functions to my router I would like to extend system memory to an old router Sagem F@ST2704V2 fw OpenWrt 19.07.10.
I mounted /dev/sda1 to /mnt and copied the content of /overlay/. to /mnt , and edited /etc/config/fstab file
This is what I did:
edited the file fstab to
config 'mount' option target '/overlay' option uuid 'myuuidnumber' option enabled '1'
# mount /dev/sda1 /mnt
# cp -a /overlay/. /mnt
now the 8GB USB is mounted but I have still few memory available:
root@OpenWrt:~# df -h /overlay Filesystem Size Used Available Use% Mounted on /dev/mtdblock4 3.8M 3.4M 344.0K 91% /overlay
this is dmesg output
root@OpenWrt:~# dmesg | tail [ 40.966758] br-lan: port 1(eth0.1) entered disabled state [ 40.972944] device eth0.1 entered promiscuous mode [ 40.977887] device eth0 entered promiscuous mode [ 41.064668] br-lan: port 1(eth0.1) entered blocking state [ 41.070253] br-lan: port 1(eth0.1) entered forwarding state [ 41.076412] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready [ 41.893513] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready [ 421.709311] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null) [71651.842300] kmodloader: loading kernel modules from /etc/modules.d/* [71651.886226] kmodloader: done loading kernel modules from /etc/modules.d/*
and df output
root@OpenWrt:~# df -h Filesystem Size Used Available Use% Mounted on /dev/root 2.8M 2.8M 0 100% /rom tmpfs 29.2M 1.1M 28.1M 4% /tmp /dev/mtdblock4 3.8M 3.4M 344.0K 91% /overlay overlayfs:/overlay 3.8M 3.4M 344.0K 91% / tmpfs 512.0K 0 512.0K 0% /dev /dev/sda1 7.2G 40.9M 6.8G 1% /mnt
Can you please help me to understand where I wrong?