Community discussions

MikroTik App
 
linep99
just joined
Topic Author
Posts: 2
Joined: Fri Nov 17, 2023 8:16 pm

CRS326-24G-2S+RM 0 bytes free of flash memory - can't restore flash space

Sun Nov 19, 2023 3:23 pm

I have the CRS326-24G-2S+RM, upgraded it to the 7.12 version and set it up according to my simple configuration (Ip address/Routes/DHCP and some simple firewall rules).
I imported into firewalls/address-lists a large blacklist resulting to leaving the machine with 0 bytes of flash memory.

I deleted all the adress lists and rebooted the machine but still the adress lists exist in the flash memory, like theyre not being deleted at all.
After that I reset the configuration but the machine seems to not be reset at all. I cant create a new configuration neither change some settings in it because when the
machine reboots the configuration is lost.

Can anyone provide a solution?

Thank you in advance
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11640
Joined: Thu Mar 03, 2016 10:23 pm

Re: CRS326-24G-2S+RM 0 bytes free of flash memory - can't restore flash space

Sun Nov 19, 2023 5:09 pm

... still the adress lists exist in the flash memory, like theyre not being deleted at all.
When flash is almost full, it's not possible to remove part of config (it seems that ROS wants to save a copy of new config before deleting old and it fails to do so). So this situation is unrecoverable, netinstall is the only way out. After netinstall, don't add large address lists on devices with tiny flash.

Besides, CRS devices are mainly switches, so extensive address lists don't really belong on these devices.
 
linep99
just joined
Topic Author
Posts: 2
Joined: Fri Nov 17, 2023 8:16 pm

Re: CRS326-24G-2S+RM 0 bytes free of flash memory - can't restore flash space

Sun Nov 19, 2023 7:23 pm

First of all thank you for the answer.

Is it possible to free disk space if i make a hard reset (via reset button) and reinstall the configuration?
Last edited by linep99 on Sun Nov 19, 2023 7:24 pm, edited 1 time in total.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11640
Joined: Thu Mar 03, 2016 10:23 pm

Re: CRS326-24G-2S+RM 0 bytes free of flash memory - can't restore flash space

Sun Nov 19, 2023 9:22 pm

I don't think you can. And even if it's possible, this doesn't guarantee to really get vanilla setup, sometimes some settings escape all the reset hooks. Netinstall is the only way where reset is guaranteed (it formats flash and installs ROS from scratch).
 
linep99
just joined
Topic Author
Posts: 2
Joined: Fri Nov 17, 2023 8:16 pm

Re: CRS326-24G-2S+RM 0 bytes free of flash memory - can't restore flash space

Mon Nov 20, 2023 2:17 pm

Thank you for your help.

I have reinstall via netinstall and working properly

Best regards
 
User avatar
Lokamaya
Frequent Visitor
Frequent Visitor
Posts: 52
Joined: Thu Nov 11, 2021 4:40 am
Location: Bandung

Re: CRS326-24G-2S+RM 0 bytes free of flash memory - can't restore flash space

Sat Mar 23, 2024 5:39 pm

I am upgrading to RouterOS 14.1 and got 3500Kb of free storage. Here what I did viewtopic.php?t=206130

Best,
Lokamaya

Who is online

Users browsing this forum: Bing [Bot] and 4 guests