Community discussions

MikroTik App
 
User avatar
Lokamaya
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 52
Joined: Thu Nov 11, 2021 4:40 am
Location: Bandung

Free up storage of CRS326 (16Mb)

Sat Mar 23, 2024 5:32 pm

CRS326-24G-2S+ is a dual OS switch, equipped with 16Mb of storage. This makes the storage fill up quickly, especially when upgrading RouterOS from version 6 to 7.7. After several months of experiencing a lack of storage and not being able to upgrade or downgrade, this week I finally got a backup switch for the CRS326.

Today I prepared the console cable for the CRS326 downgrade process with NetInstall from version 7.7 to the factory firmware version. But I'm curious...

After doing "Reset Configuration" several times and always fail, I tried hard-resetting the CRS326. 2 times. Finally I got free configuration of CRS326 with 1200Kb of free storage. Okay, seem like there is still a hope avoiding NetInstall. Instead of downgrading the CRS326, I went ahead and upgraded it to version 12.1 (+firmware upgrade), then to version 14.1 (+firmware upgrade). In the last version I have got around 2000kb of free storage.

The last thing I did was uninstalling the Wireless package. Bump. I've got 3500kb of free storage
crs-3.jpg

Happy CRS with lot of free storage :lol:
crs-2.jpg


Hope this help someone.
Lokamaya
You do not have the required permissions to view the files attached to this post.
 
User avatar
Lokamaya
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 52
Joined: Thu Nov 11, 2021 4:40 am
Location: Bandung

Re: Free up storage of CRS326 (16Mb)

Sat Mar 23, 2024 5:49 pm

There is a bug in RouterOS v6 installed on CRS326. The CPU only count 1, while on RouterOS v7+ its count 2.
Last edited by Lokamaya on Sat Mar 23, 2024 7:39 pm, edited 1 time in total.
 
holvoetn
Forum Guru
Forum Guru
Posts: 5500
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: Free up storage of CRS326 (16Mb)

Sat Mar 23, 2024 5:54 pm

Upgrade from 7.12 to >7.13 brings indeed wireless package over as well.
Why ? On a switch ? The logic is lost on me ...

Other then that, it runs pretty nice using ROS7. Keep it there :lol:
 
DanMos79
just joined
Posts: 11
Joined: Wed Jun 03, 2020 1:35 pm
Location: Germany

Re: Free up storage of CRS326 (16Mb)

Sun Mar 24, 2024 12:13 pm

There is a bug in RouterOS v6 installed on CRS326. The CPU only count 1, while on RouterOS v7+ its count 2.

The CRS326 switches have always had two CPU cores, but ROS6 had no support for this. Both are now available under ROS7.
 
holvoetn
Forum Guru
Forum Guru
Posts: 5500
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: Free up storage of CRS326 (16Mb)

Sun Mar 24, 2024 12:52 pm

There is a bug in RouterOS v6 installed on CRS326. The CPU only count 1, while on RouterOS v7+ its count 2.

The CRS326 switches have always had two CPU cores, but ROS6 had no support for this. Both are now available under ROS7.
Obviously a SW update can not add cores out of the blue ... they needed already be etched in silicon.
 
realmark
just joined
Posts: 14
Joined: Fri Feb 12, 2021 7:15 pm

Re: Free up storage of CRS326 (16Mb)

Fri Apr 05, 2024 10:33 pm

Not sure why the core count is part of this discussion, but iirc, the CPU architecture of the chip is heterogenous, which the older kernel of ROS 6.x can't support. Thus only "core 0" shows up as usable.

As to the storage... Why are you trying to free up space? It sounds like you're looking to go back to 6.x firmware. That is really ill-advised for CRS3xx hardware, as support for the switch chip really requires ROS 7.x. We've seen a couple dumb issues months after deployment of switches to customers. In every case, I've had to chide our team for not patching a switch that shipped with 6.x before deployment.

As to performing upgrades, the system/package update feature works just fine, with the limited storage space.

Edit: to be clear, I totally understand why you might want a lot more storage, but more in terms of "I wish the switch supported a microsd or USB storage option". I have a couple of them acting as near all-in-one network heads for things like out-of-band networks, would be excellent if they could provide a TFTP boot server in the same space. Keep thinking I'll get around to embedding a Hex/HAP in one of them, but realistically, not going to add such a hack-job to the product line. The newest Mikrotik gear is fantastic, but I wish there was room for a little more "crazy". Something in the realm of QNAP's half switch/half NAS/half router solution.

That side-trip over, what are you trying to do on the local flash? Rose-storage is an option as well: provision a ramdisk. I've been writing some scripts that I'm worried about wearing through the disk. I've found I can sieze 256mb of flash from a CRS326 with no problems so far.
 
marekm
Member
Member
Posts: 391
Joined: Tue Feb 01, 2011 11:27 pm

Re: Free up storage of CRS326 (16Mb)

Mon Apr 08, 2024 1:58 am

As to the storage... Why are you trying to free up space? It sounds like you're looking to go back to 6.x firmware. That is really ill-advised for CRS3xx hardware, as support for the switch chip really requires ROS 7.x. We've seen a couple dumb issues months after deployment of switches to customers. In every case, I've had to chide our team for not patching a switch that shipped with 6.x before deployment.
I've been running several CRS326-24G-2S+ switches and all working fine with recent 6.x. Only have 7.x on one that came with 7.x from the factory (so can't be downgraded to 6.x). I have a bridge with several VLANs with HW offload, and that just works, haven't seen any issues so far. What specific issues did you have with 6.x on these switches?
 
realmark
just joined
Posts: 14
Joined: Fri Feb 12, 2021 7:15 pm

Re: Free up storage of CRS326 (16Mb)

Wed Apr 24, 2024 4:13 am

I've been running several CRS326-24G-2S+ switches and all working fine with recent 6.x. Only have 7.x on one that came with 7.x from the factory (so can't be downgraded to 6.x). I have a bridge with several VLANs with HW offload, and that just works, haven't seen any issues so far. What specific issues did you have with 6.x on these switches?
Actually, the units in question were CRS328-24p units, which I believe have slightly different switch hardware. Honestly, no clue what 6.x version they were running on. The just spontaneously started leaking traffic between vlans at some point. There was some other chaos involved in the network, but I was responding after-hours and applied my preferred firmware at the time without looking back.

Could be I'm wrong on what was at root cause there, but I've only had those problems with switches our team deployed without patching, and I know the hardware drivers for the CRS3xx line aren't properly supported on the older kernel. Beyond that, I believe a number of hardware-offload for L3 features have been recently fixed. I haven't experimented with that much yet, but it's on my to-do list.

Who is online

Users browsing this forum: No registered users and 5 guests