1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!

"No free space" error on RT-AC86U running 384.13

Discussion in 'Asuswrt-Merlin' started by Yousif Kelaita, Aug 23, 2019.

  1. Yousif Kelaita

    Yousif Kelaita New Around Here

    Joined:
    Jul 3, 2018
    Messages:
    9
    My router is behaving abnormally with repeated errors in the log:

    Aug 23 11:45:32 Crystal 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)
    Aug 23 11:45:32 Crystal kernel: jffs2: jffs2_reserve_space_gc of 196 bytes for garbage_collect_dnode failed: -28
    Aug 23 11:45:32 Crystal kernel: jffs2: Error garbage collecting node at 02a00988!​

    My /jffs is at 33/48 MB full, so I checked and noticed TrafficAnalyzer.db is the major culprit with 23 MB being used. I am trying to delete it but getting the error message:

    rm: can't remove 'TrafficAnalyzer.db': No space left on device​

    Any thoughts?
     
  2. skeal

    skeal Part of the Furniture

    Joined:
    Apr 30, 2016
    Messages:
    3,353
    Location:
    /etc
    Have you tried the create reset feature on the tools page?
     
  3. Yousif Kelaita

    Yousif Kelaita New Around Here

    Joined:
    Jul 3, 2018
    Messages:
    9
    Hello, thanks for the response.

    Under Tools -> Other Settings, my traffic monitor was set to RAM, so I'm confused why there is even a TrafficAnalyzer.db file in my /jffs. I tried toggling the setting to get it to clear/reset but no luck.
     
  4. skeal

    skeal Part of the Furniture

    Joined:
    Apr 30, 2016
    Messages:
    3,353
    Location:
    /etc
    Using the tools page and try to setup a new location and name and then go back and rm the original file you are having trouble removing. You could format the partition.
     
  5. ColinTaylor

    ColinTaylor Part of the Furniture

    Joined:
    Mar 31, 2014
    Messages:
    9,259
    Location:
    UK
    The Traffic Analyser and Traffic Monitor databases are two completely different things.

    According to Merlin's post here it's not unusual for that file to grow to 30MB. So look for other causes of your problem.
     
  6. Yousif Kelaita

    Yousif Kelaita New Around Here

    Joined:
    Jul 3, 2018
    Messages:
    9
    Thanks for the thoughts.

    It seems strange to me that I can't even delete the file if I want to. Is it possible to check for file system issues on /jffs? I'd rather not format the partition unless it's a last resort, lot of custom config there...
     
  7. RMerlin

    RMerlin Super Moderator

    Joined:
    Apr 14, 2012
    Messages:
    31,001
    Location:
    Canada
    Turn off Traffic Analyzer before removing it.

    Normally, that file should be trimmed to never grow beyond 30 MB, however I have seen the trim process fails occasionally, leading the file to grow even more.

    You might also want to look for other files that might have grown abnormally within the /jffs partition.

    Custom configs can easily be backed up to a USB disk before reformating, and copying them back.
     
  8. Yousif Kelaita

    Yousif Kelaita New Around Here

    Joined:
    Jul 3, 2018
    Messages:
    9
    Thanks Merlin, I think I'll just format the jffs partition. Thanks for all you do!