What's new

ASUS RT-AC86U (merlin Current Version : 386.12_6): jffs2: Argh. No free space left for GC. Can you help me troubleshoot this please?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

fun4stuff

Regular Contributor
I have been losing connection to my router. It seems like it is sometimes triggered when someone else in the house connects to wifi. Other times it is random.

I checked the logs:


"Mar 20 12:18:26 kernel: jffs2: Argh. No free space left for GC. nr_erasing_blocks is 0. nr_free_blocks is 0. (erasableempty: yes, erasingempty: yes, erasependingempty: yes)
Mar 20 12:18:26 kernel: jffs2: jffs2_reserve_space_gc of 196 bytes for garbage_collect_dnode failed: -28
Mar 20 12:18:26 kernel: jffs2: Error garbage collecting node at 009763c0!"

I searched the forums a bit. I could not figure out how to disable Traffic Analyzer. I turned off statistics. Maybe that is what people mean? I tried SSH into router and deleting the traffic analyzer.db but completely delete TrafficAnalyer eanyhow because there was no space on the device.

ls -l /jffs/.sys/TrafficAnalyzer/ -ah:
Code:
@RT-AC86U-79F0:/tmp/home/root# ls -l /jffs/.sys/TrafficAnalyzer/ -ah
drw-rw-rw-    2 fun4stuf root           0 Jan 10 08:25 .
drwxrwxrwx    9 fun4stuf root           0 Feb  9  2022 ..
-rw-rw-rw-    1 fun4stuf root       12.5M Jan 10 08:25 TrafficAnalyzer.db

Code:
@RT-AC86U-79F0:/jffs/.sys/nc# ls -l /jffs/.sys/nc/ -ah
drwxrwxrwx    2 fun4stuf root           0 May  5  2018 .
drwxrwxrwx    9 fun4stuf root           0 Feb  9  2022 ..
-rw-r--r--    1 fun4stuf root       44.4M May  5  2018 nt_center.db


nt_center.db was the largest file I found. Again, I cannot delete with rm command ("no space left on the device"). Maybe I am using the wrong command?



Code:
@RT-AC86U-79F0:/jffs/.sys/nc# ls -l /jffs/.sys/nc/ -ah
drwxrwxrwx    2 fun4stuf root           0 May  5  2018 .
drwxrwxrwx    9 fun4stuf root           0 Feb  9  2022 ..
-rw-r--r--    1 fun4stuf root       44.4M May  5  2018 nt_center.db
fun4stuff@RT-AC86U-79F0:/jffs/.sys/nc#
fun4stuff@RT-AC86U-79F0:/jffs/.sys/nc# rm nt_center.db
rm: can't remove 'nt_center.db': No space left on device
fun4stuff@RT-AC86U-79F0:/jffs/.sys/nc# ls -l /jffs/ -ah
drwxr-xr-x   17 fun4stuf root           0 Dec 31  1969 .
drwxr-xr-x   20 fun4stuf root        1.8K Feb 26 22:54 ..
drw-------    2 fun4stuf root           0 Aug 22  2019 .cert
-rwxrwxrwx    1 fun4stuf root       73.8K Jul  1  2022 .config_read-2
-rwxrwxrwx    1 fun4stuf root       89.8K Jul  1  2022 .config_read-3
-rwxrwxrwx    1 fun4stuf root       89.7K Jul  1  2022 .config_read-4
drw-------    3 fun4stuf root           0 Dec 30  2019 .le
drwx------    2 fun4stuf root           0 May  5  2018 .ssh
drwxrwxrwx    9 fun4stuf root           0 Feb  9  2022 .sys
drwxr-xr-x    2 fun4stuf root           0 Dec 31  1969 addons
drwxr--r--    2 fun4stuf root           0 Jan 10 08:23 asd
-rw-rw-rw-    1 fun4stuf root       87.9K May  5  2018 asd.log
-rw-rw-rw-    1 fun4stuf root      100.0K Dec 31  2022 asd.log.1
-rw-r--r--    1 fun4stuf root          39 Nov 23  2022 asd_json
drwxrwxrwx    2 fun4stuf root           0 Oct 23  2021 ca_files
-rw-r--r--    1 fun4stuf root          57 Oct 23  2021 cfg.json
drwxr-xr-x    2 fun4stuf root           0 May  5  2018 configs
drwxrwxrwx    2 fun4stuf root           0 Nov 23  2022 etc
-rw-r--r--    1 fun4stuf root       14.0K Jan 10 08:34 nmp_cl_json.js
-rw-rw-rw-    1 fun4stuf root        1.5K Jun  8  2019 nmp_client_list
-rw-r--r--    1 fun4stuf root        6.3K Jan  7 16:38 nmp_vc_json.js
-rwxr-xr-x    1 fun4stuf root       81.8K Nov 22  2022 ntp
drwxrwxrwx    2 fun4stuf root           0 May  5  2018 nvram
-rw-rw-rw-    1 fun4stuf root           0 Dec 31  1969 nvram_war
drwx------    2 fun4stuf root           0 Oct 26  2021 openvpn
drwxr-xr-x    2 fun4stuf root           0 May  5  2018 scripts
drwxrwxrwx    2 fun4stuf root           0 Dec  9 19:55 signature
-rw-rw-rw-    1 fun4stuf root      151.3K Jan 10 08:34 syslog.log
-rw-rw-rw-    1 fun4stuf root      256.0K Jan 10 08:34 syslog.log-1
-rw-rw-rw-    1 fun4stuf root        1.3K May  5  2018 tomato_rstats_0c9d922c79f                                                                                                                                                                                                                                             0.gz
drwxr-xr-x    2 fun4stuf root           0 May  5  2018 usericon
-rw-rw-rw-    1 fun4stuf root        4.0K Mar 20 12:19 wglst
-rw-rw-rw-    1 fun4stuf root       10.1K Jan  4 02:18 wglst.1

Code:
@RT-AC86U-79F0:/jffs/.sys/nc# df -h
Filesystem                Size      Used Available Use% Mounted on
ubi:rootfs_ubifs         77.2M     66.9M     10.2M  87% /
devtmpfs                207.9M         0    207.9M   0% /dev
tmpfs                   208.0M    448.0K    207.6M   0% /var
tmpfs                   208.0M      1.7M    206.3M   1% /tmp/mnt
mtd:bootfs                4.4M      3.3M      1.1M  75% /bootfs
tmpfs                   208.0M      1.7M    206.3M   1% /tmp/mnt
mtd:data                  8.0M      1.3M      6.7M  16% /data
tmpfs                   208.0M      1.7M    206.3M   1% /tmp
/dev/mtdblock9           47.0M     33.3M     13.7M  71% /jffs
 
See if this works:
Code:
killall nt_monitor
killall nt_actMail
killall nt_center
rm /jffs/.sys/nc/nt_center.db
 
See if this works:
Code:
killall nt_monitor
killall nt_actMail
killall nt_center
rm /jffs/.sys/nc/nt_center.db
btw, before you posted this I tried downloading JFFS via GUI. I deleted the NC amd trafffic db files from the tar file, then reuploaded the JFFS tar file via GUI and rebooted router. Still get same errors in logs.

i will go ahead and try what you just posted now

edit:
it appears the nc db file is the same size as it was before i restored the jffs
 
btw, before you posted this I tried downloading JFFS via GUI. I deleted the NC amd trafffic db files from the tar file, then reuploaded the JFFS tar file via GUI and rebooted router. Still get same errors in logs.

i will go ahead and try what you just posted now

ASUSWRT-Merlin RT-AC86U 386.12_6 Tue Feb 27 02:48:47 UTC 2024
user@RT-AC86U-79F0:/tmp/home/root# killall nt_monitor
user@RT-AC86U-79F0:/tmp/home/root# killall nt_actMail
user@RT-AC86U-79F0:/tmp/home/root# killall nt_center
user@RT-AC86U-79F0:/tmp/home/root# rm /jffs/.sys/nc/nt_center.db
rm: can't remove '/jffs/.sys/nc/nt_center.db': No space left on device
 
edit:
it appears the nc db file is the same size as it was before i restored the jffs
This is to be expected.
ASUSWRT-Merlin RT-AC86U 386.12_6 Tue Feb 27 02:48:47 UTC 2024
user@RT-AC86U-79F0:/tmp/home/root# killall nt_monitor
user@RT-AC86U-79F0:/tmp/home/root# killall nt_actMail
user@RT-AC86U-79F0:/tmp/home/root# killall nt_center
user@RT-AC86U-79F0:/tmp/home/root# rm /jffs/.sys/nc/nt_center.db
rm: can't remove '/jffs/.sys/nc/nt_center.db': No space left on device
Do you have the option "Format JFFS partition at next boot" in Administration - System? If so you could use that to wipe the JFFS partition and then reload the contents from the backup file you just made.

P.S. Take a second backup beforehand, just in case.
 
This is to be expected.

Do you have the option "Format JFFS partition at next boot" in Administration - System? If so you could use that to wipe the JFFS partition and then reload the contents from the backup file you just made.

P.S. Take a second backup beforehand, just in case.
i will try. thanks
 
This is to be expected.

Do you have the option "Format JFFS partition at next boot" in Administration - System? If so you could use that to wipe the JFFS partition and then reload the contents from the backup file you just made.

P.S. Take a second backup beforehand, just in case.
That seemed to have worked! It's been 10 mins and I am not getting the error message. Thank you for your help.
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top