[RT-AC86U, 384.17] can't remove; no space left on device

  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

Yousif Kelaita

Occasional Visitor
I started getting a lot of "no space left" errors in log, amtm, etc.

GUI says JFFS is 41/48 MB full, but if I try to delete the TrafficAnalyzer.db file, I get the error message:

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

I've seen similar issues reported in threads here, but the conversation always leads elsewhere...Any advice on how to delete this file or free up some space? Am I boned? So many settings I'd lose if I had to factory reset...
 

ArC

Occasional Visitor
I started getting a lot of "no space left" errors in log, amtm, etc.

GUI says JFFS is 41/48 MB full, but if I try to delete the TrafficAnalyzer.db file, I get the error message:

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

I've seen similar issues reported in threads here, but the conversation always leads elsewhere...Any advice on how to delete this file or free up some space? Am I boned? So many settings I'd lose if I had to factory reset...

Hi,
One option is: Go to Administration -> System -> Format JFFS partition at next boot and set to "YES" then reboot the router
 

ColinTaylor

Part of the Furniture
You have to turn off the Traffic Analyser before you can delete it's file.
 

ColinTaylor

Part of the Furniture
I would leave the Traffic Analyser disabled and also disable "custom scripts and configs" on Administration - System. Then reboot the router and try to delete the file again.
 

Yousif Kelaita

Occasional Visitor
No luck there either. My understanding is it has something do with the jffs filesystem needing space to be able to delete a file. But still haven't found the magic command that might let me free up some space on it.
 

ColinTaylor

Part of the Furniture
Look to see if there's some other large file that is causing the problem rather than assuming it's TrafficAnalyzer.db.
Code:
du -a /jffs | sort -g
 

Yousif Kelaita

Occasional Visitor
Thanks for your continued help.

TrafficAnalyzer.db is the largest at 27 MB, followed by nt_center.db at 17 MB, followed by WebHistory.db at 3 MB. What is nt_center?
 

Jack Yaz

Part of the Furniture
Is it worth trying:
Code:
cat /dev/null > /jffs/.sys/TrafficAnalyzer/TrafficAnalyzer.db
 

ColinTaylor

Part of the Furniture
Do you have jffs errors reported in the router's syslog?
 

Yousif Kelaita

Occasional Visitor
Yes it repeats the following over and over:

Jun 4 15:24:18 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)
Jun 4 15:24:18 kernel: jffs2: jffs2_reserve_space_gc of 196 bytes for garbage_collect_dnode failed: -28
Jun 4 15:24:18 kernel: jffs2: Error garbage collecting node at 00dd9f34!
 

ColinTaylor

Part of the Furniture
Oh dear. I've seen this before and it was difficult to resolve even with doing a factory reset.

As I don't have the same router as you can you show me the output of this command:
Code:
nvram get x_Setting
 

ColinTaylor

Part of the Furniture
Result:

1
OK. Well I don't know of a painless solution. The best I can think of is that you use the GUI to backup your current nvram and jffs data. Then do a factory reset with initialise. If that wipes the jffs partition you could then try restoring both the nvram and jffs.

My concern with this is all the reports that the "initialise" option appears to not work properly on the RT-AC86U.
 

Yousif Kelaita

Occasional Visitor
I see, I'll give some time for additional input but move to do that in the near future...maybe I'll use this chance to upgrade to an AX88U...
 

ColinTaylor

Part of the Furniture
Rather than doing a full factory reset you could try what @ArC suggested in post #2 and just try to reformat the jffs partition (having backed it up first). And then restore it afterwards. That way almost all of the router settings would be preserved and you would be mainly restoring the custom scripts and configs.
 

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