JFFS2-partition full

I’m unable to access my GL-Mt300N-V2 from goodcloud via web or ssh. Currently I have the WAN interface hooked up to a Huawei LTE modem and the LAN interface is connected to the lan port of my ASUS router.

It’s setup this way as a backup means to administer the ASUS router if the site to site vpn would fail to start.

I can currently access the cli via SSH from the ASUS router but nothing else. Upon logging in via ssh I get this message:

“Your JFFS2-partition seems full and overlayfs is mounted read-only.
Please try to remove files from /overlay/upper/… and reboot!”

df -h output

Your JFFS2-partition seems full and overlayfs is mounted read-only.
Please try to remove files from /overlay/upper/… and reboot!
root@GL-MT300N-V2:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 11.8M 11.8M 0 100% /rom
tmpfs 59.6M 364.0K 59.2M 1% /tmp
/dev/mtdblock6 1.6M 1.5M 72.0K 96% /overlay
overlayfs:/overlay 1.6M 1.5M 72.0K 96% /
tmpfs 512.0K 0 512.0K 0% /dev
/dev/sda1 57.4G 24.0K 54.4G 0% /mnt/extroot

cat /etc/config/fstab

config global
option anon_swap ‘0’
option anon_mount ‘0’
option auto_swap ‘1’
option auto_mount ‘1’
option delay_root ‘5’
option check_fs ‘0’

config mount ‘rwm’
option device ‘/dev/mtdblock6’
option target ‘/rwm’
option enabled ‘1’

root@GL-MT300N-V2:~#

My linux knowledge is very limited and since this is a remote node, I’m not sure how to fix this.

Did you intall any plugin in the router?

The router’s flash is full so it will not run normally.

You can do a “reset firmware” to erase all the settings and configure again.

1 Like

Hi,

Yes, I installed zerotier plugin. I was trying to configure extroot using usb stick to expand storage. There is nobody there, I only have ssh access via my main router to the GL’s lan port. Please advice how can I factory reset and use cli to reconfigure the setup phase using just the cli ?

To reset the router from ssh cli, do this:

firstboot
reboot
1 Like

How do I provision the router after reset over cli?

You don’t. You will use the GL GUI just like you just got the router from the factory.