Subject: MikroTik Router Storage Issue - 100% Full

Hello everyone,

I’m facing an issue with my MikroTik router, and I’m hoping someone here can provide some insight. My router’s storage is showing as 100% full, with 0% free space under the “Disk” section. I’ve tried using both the /disk print and /file print commands, but I can’t seem to determine what is occupying the storage. The only files I have stored on the router are two backup files.

Due to the storage being completely full, I’m unable to perform a router update. Strangely, there are no error messages in the logs, and the router itself is running smoothly and quickly.

I’m puzzled by this situation and would greatly appreciate any ideas or suggestions on what might be causing this storage issue and how I can free up some space. Has anyone else encountered a similar problem before?

Thank you in advance for your assistance!

What type of router ?
Have you tried to move the backup files to your computer to make space ? (drag-n-drop to computer, verify its there, then delete in Files)
Which version are you running now and to which version do you want to upgrade ?

Hello,

Thank you for your response.

I have a router LTE HAP AC3.

When I delete the last two files (backups), each of which is 1007.4 KiB in size, from the router, it doesn’t take long for that storage space to be used up again, but it’s unclear what is causing it. Previously, I had more backups on the router, so I’m familiar with how it behaves in this regard.

Currently, I am running version 7.11.2.

When I download and install version 7.12, everything seems fine. However, after the reboot, the update hasn’t been applied.

Thank you.

Then I guess it’s time for netinstall.
It’s clear something is eating that storage space…

What is netinstall?

But why I can’t see whats up on the storage?

Last part first
Because ROS is based on Linux but it is not as open as Linux.
No way to peek into the internal kitchen.

First part
A little search perhaps ?

https://help.mikrotik.com/docs/display/ROS/Netinstall
and
https://forum.mikrotik.com/viewtopic.php?t=182373
Paragraph H

It may be firewall address list, for example. In mine case of the same situation—only netinstall :frowning:

I significantly reduced the firewall address list. Previously, it had entries for both the US and DE, but now it only includes DE. However, this didn’t resolve the issue.

Why isn’t there a way like “dir /s” in Windows to easily check what’s taking up space in memory - and do that via the console?

I haven’t used netinstall yet; so far, everything has been done through the console and Winbox.

Because it is ROS, not WIndows, not Linux, not OS2, …

Hello,

I have now reformatted the router using netinstall. After that, the router showed 8% free space. Then, I loaded my configuration, which is only 1 MB in size, and I had only 300 KB of free space left, which is 1%. If I create a backup now, it’s gone again after a reboot.

I have now ordered the RB5009UG+S+IN, which has 1GB of storage instead of 16MB.

If netinstall doesn’t solve the problem, then the router must have a different issue.

1 -I hope you did not restore a binary backup instead of importing config manually ? If so, you put the ballast simply back.
2- AC3 LTE is known for having a real tight storage space. Mine only as 346K left (recently upgraded to ROS 7.12). But it runs stable as a rock.
I don’t keep backups on that device. When I make changes, I export config and move it to my PC.
It’s 250km away from me too.

Configuration 1MB in size is not “only”, it’s huge for a 16MB flash device IMO.

My hAP ac2 config, while device was running ROS v6, contained two country address lists (both for IPv4 and IPv6, so this actually makes 4 decently sized address lists), was 360kB (textual export) or 1,2Mb (binary backup … @holvoetn warned already against restoring that one as it may contain garbage you want to get rid of).
After I upgraded device to v7 (netinstall, manually configuring it anew, at the end I tried to import address lists, again from textual config file), it reached 100% of disk use and those address lists could not load completely. So I gave up on using those address lists. After that, exported config is around 45kB and binary backup is around 200kB.

It seems that you’re not aware of one fact: on devices with flash storage equal or less than 64MB (I think that’s the magic size, could be 32MB), the root of file structure resides on RAM disk and the (raminder of) permanent flash storage is available under flash/. So whatever is placed anywhere in file structure other than under flash/ is lost on reboot. That’s the fact of life I’m afraid.