Community discussions

MikroTik App
 
Cablenut9
Long time Member
Long time Member
Topic Author
Posts: 542
Joined: Fri Jan 08, 2021 5:30 am

RB4011 ROS takes up an order of magnitude more space

Thu Apr 22, 2021 4:46 am

I noticed that compared to every other Mikrotik device I own, the RB4011 ROS package has an obese software size (95MB!) compared to my other ROS installations which only take up 12MB at the most. How is this possible? I don't think the Alpine CPU needs drivers that are that big, unless it has some secret sauce that balloons up the package as a whole.
 
User avatar
Znevna
Forum Guru
Forum Guru
Posts: 1347
Joined: Mon Sep 23, 2019 1:04 pm

Re: RB4011 ROS takes up an order of magnitude more space

Thu Apr 22, 2021 6:18 am

You do realize that it's the exactly the same package for hAP ac2 which only has 16MB of internal flash.
There is no "95MB" downloadable "ROS" package.
"order of magnitude" !! .. stop smoking.
 
Cablenut9
Long time Member
Long time Member
Topic Author
Posts: 542
Joined: Fri Jan 08, 2021 5:30 am

Re: RB4011 ROS takes up an order of magnitude more space

Thu Apr 22, 2021 6:32 am

There is no "95MB" downloadable "ROS" package.
I was wrong, it's actually 87MB.
You do not have the required permissions to view the files attached to this post.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19100
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: RB4011 ROS takes up an order of magnitude more space

Thu Apr 22, 2021 4:21 pm

Haha I was going to ask which Russian website did you get your download from. ;-)

By the way, there is no firmware just for the RB4011, they classify downloads per CPU chip architecture (ARM in this case).
 
Cablenut9
Long time Member
Long time Member
Topic Author
Posts: 542
Joined: Fri Jan 08, 2021 5:30 am

Re: RB4011 ROS takes up an order of magnitude more space

Thu Apr 22, 2021 4:35 pm

Haha I was going to ask which Russian website did you get your download from. ;-)
This software came with the RB4011 out of the box. :)
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26322
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: RB4011 ROS takes up an order of magnitude more space

Thu Apr 22, 2021 4:37 pm

Disk use doesn't have to be related to package size. There can be other files in the router.
 
User avatar
Jotne
Forum Guru
Forum Guru
Posts: 3291
Joined: Sat Dec 24, 2016 11:17 am
Location: Magrathean

Re: RB4011 ROS takes up an order of magnitude more space

Thu Apr 22, 2021 10:22 pm

In a terminal windows, run the following command and post the output of it.
/file print
 
Cablenut9
Long time Member
Long time Member
Topic Author
Posts: 542
Joined: Fri Jan 08, 2021 5:30 am

Re: RB4011 ROS takes up an order of magnitude more space

Thu Apr 22, 2021 10:25 pm

In a terminal windows, run the following command and post the output of it.
/file print
[admin@MikroTikRouter] /file> pr 
Columns: NAME, TYPE, SIZE, CREATION-TIME
  #  NAME                      TYPE       SIZE      CREATION-TIME       
  0  skins                     directory            dec/31/1969 20:00:03
  1  pub                       directory            jan/01/1970 20:01:47
  2  auto-before-reset.backup  backup     21.8KiB   jan/01/1970 20:03:45
  3  download (5)              file       37.2KiB   apr/15/2021 22:24:35
  4  download (5).rsc          script     37.2KiB   apr/15/2021 22:25:11
  5  autosupout.rif            .rif file  428.6KiB  apr/16/2021 23:51:20
  6  RB4011.rsc                script     28.8KiB   apr/19/2021 23:00:22
[admin@MikroTikRouter] /file>  
 
User avatar
Jotne
Forum Guru
Forum Guru
Posts: 3291
Joined: Sat Dec 24, 2016 11:17 am
Location: Magrathean

Re: RB4011 ROS takes up an order of magnitude more space

Thu Apr 22, 2021 10:44 pm

You marked it as solved, what did you find out?
File output did not show much.

PS no need to Quote a message above you, use "Post Reply" button below the post.
 
Cablenut9
Long time Member
Long time Member
Topic Author
Posts: 542
Joined: Fri Jan 08, 2021 5:30 am

Re: RB4011 ROS takes up an order of magnitude more space

Thu Apr 22, 2021 11:20 pm

I found out that it's not just the system package that takes up space but other files as well. However, I still don't know what those other files are.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26322
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: RB4011 ROS takes up an order of magnitude more space

Fri Apr 23, 2021 8:29 am

As you can clearly see, there are backups, configuration exports, debug files, a theme/skin folder.
 
User avatar
Znevna
Forum Guru
Forum Guru
Posts: 1347
Joined: Mon Sep 23, 2019 1:04 pm

Re: RB4011 ROS takes up an order of magnitude more space

Fri Apr 23, 2021 12:50 pm

Inodes take up some space too, for a 512MB partition.
But how would you expect @Cablenut9 to know something about filesystems..
 
msatter
Forum Guru
Forum Guru
Posts: 2897
Joined: Tue Feb 18, 2014 12:56 am
Location: Netherlands / Nīderlande

Re: RB4011 ROS takes up an order of magnitude more space

Fri Apr 23, 2021 1:08 pm

Inodes take up some space too, for a 512MB partition.
But how would you expect @Cablenut9 to know something about filesystems..
You are a real charm.
 
Cablenut9
Long time Member
Long time Member
Topic Author
Posts: 542
Joined: Fri Jan 08, 2021 5:30 am

Re: RB4011 ROS takes up an order of magnitude more space

Fri Apr 23, 2021 5:02 pm

Ironic, because back when I was running The Dude on a 2GB MicroSD on a hEX S, the total used space was less than whatever space the inodes are taking up here. ROS should let you know what kinds of things are using up the space, not a generic "space used/available"
 
User avatar
Znevna
Forum Guru
Forum Guru
Posts: 1347
Joined: Mon Sep 23, 2019 1:04 pm

Re: RB4011 ROS takes up an order of magnitude more space

Fri Apr 23, 2021 7:35 pm

File a bug report if you consider whatever this is such a big issue :)
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19100
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: RB4011 ROS takes up an order of magnitude more space

Fri Apr 23, 2021 9:26 pm

File a bug report if you consider whatever this is such a big issue :)
I already submitted one!!!
@Zevba SUP-84879 _Cablenut is bugging me!

Who is online

Users browsing this forum: adrianmartin16, Bing [Bot], Qanon, Valerio5000 and 84 guests