RB3011 different storage size

I have two RB3011UiAS
One shows 42.5MB HDD size, the other one 128.0 MB

Whay is this ?
Different production lots/date ??

Can I upgrade to 128MB ?

Probably one was “partitioned”, i.e. there are different versions of RouterOS on it for fallback in case of failed upgrade etc.
Look under the Partition menu.

Thanks, in fact…:

Flags: A - ACTIVE; R - RUNNING
Columns: NAME, FALLBACK-TO, VERSION, SIZE
#    NAME   FALLBACK-TO  VERSION                              SIZE 
0 AR part0  next         RouterOS v7.13 Dec/14/2023 09:24:08  43MiB
1    part1  next                                              43MiB
2    part2  next                                              43MiB

How to repartition to original 128 MB single partition ?

repartition (integer)	Will reboot the router and reformat the NAND, leaving only active partition.

just /partitions/repartition ??

Does it destroy active running config ?

Yup. Repartition on both unused partitions. Partition which remains is left intact (apart from growing).

Should be (not that it is written anywhere on the doc/help pages):

/partitions repartition partitions=1

see:

It should not[1], but do make a backup AND be prepared in case of failure to netinstall.


[1] we have at least one report of someone who did it and had no issues:

On a router like that, it would be a good idea to use partitions=2.
You have 2 partitions of 64MB, usually enough for operation.

Then before you upgrade, do a “copy to” in the partition menu, copying the active partition (0) to the other (1).
When after the upgrade you are not satisfied with the result, or when the router hangs during upgrade or whatever, you can make partition 1 active and reboot (when you powercycle the router during a hang it will do that automatically).
Now you have your working software+config back and you can try again or wait for another upgrade version.

This is the intended use of partitions.