Community discussions

MikroTik App
 
NebularWinter
just joined
Topic Author
Posts: 15
Joined: Mon Oct 24, 2022 8:55 pm

Space ran out on Hap ac2 - is it safe to run it like that long term?

Sun Apr 21, 2024 11:41 am

[admin@Mikrotik-MS] /system/resource> print 
                   uptime: 15w4d14h11m30s
                  version: 7.13 (stable)
               build-time: Dec/14/2023 09:24:08
         factory-software: 6.44
              free-memory: 29.2MiB
             total-memory: 128.0MiB
                      cpu: ARM
                cpu-count: 4
            cpu-frequency: 896MHz
                 cpu-load: 2%
           free-hdd-space: 0
          total-hdd-space: 15.2MiB
  write-sect-since-reboot: 1216853
         write-sect-total: 11427814
        architecture-name: arm
               board-name: hAP ac^2
                 platform: MikroTik
Not looking to upgrade the fw (it's a remote router from where I am), but wondered if it's safe to run it as is with 0 space available? Or will it eventually 'brick' itself (the way e.g. linux machines do if they run out of space)

Also, with an uptime of c.4 months, I wanted to restart it now as wg s2s started glitching out of nowhere (space related perhaps?) and bit worried it may get stuck at boot if the drive is completely full?

FWIW, is there a way to free up more space (not sure if I can delete these files/folders safely?)?.
Image
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11703
Joined: Thu Mar 03, 2016 10:23 pm

Re: Space ran out on Hap ac2 - is it safe to run it like that long term?

Sun Apr 21, 2024 12:37 pm

... wondered if it's safe to run it as is with 0 space available?

No, it's not safe, so you should act on it as soon as possible.

Very likely it won't just crash (but it might), however it is very likely that it'll experience some problems if it happens to reboot for some reason (e.g. power outage or some such). And problems can range from (relatively benign) applying configuration which doesn't include most recent changes and to entering a boot loop (which can be only broken by netinstalling device).

It is very linkely that you'll have to reset config to factory defaults (the milder variation) or netinstall device (the more brutal variation) to reclaim used space. After that you will want to check configuration and possibly remove some of it. E.g. using large address lists (with non-dynamic entries) can use up considerable amount of flash space.
 
fragtion
Member Candidate
Member Candidate
Posts: 262
Joined: Fri Nov 13, 2009 10:08 pm
Location: Johannesburg, South Africa

Re: Space ran out on Hap ac2 - is it safe to run it like that long term?

Sun Apr 21, 2024 12:56 pm

Export config to terminal and copy config to notepad and save as rsc file.
Then netinstall to latest v7.15rc and install the acwave2 package. You will have enough free space afterwards. Restore your config you exported

Then make sure to:
1. Lower your DNS cache size
2. Disable graphing saving to disk
3. Disable DHCP leases storing to disk
4. Delete unnecessary files like skins, hotspot files and autosupout.rif
5. Create a small ram disk where you can temporarily save backups etc from now on
 
patg
just joined
Posts: 1
Joined: Mon Apr 10, 2023 4:08 pm

Re: Space ran out on Hap ac2 - is it safe to run it like that long term?

Tue Apr 23, 2024 7:53 pm

Just discovered by accident that it's now possible to run zerotier again on the Hap ac2 using 7.15rc1 (testing) !!

MTIK managed to optimize the base package + wifi + extras so that it'll fit into the sparse flash space. Congrats ! :D
Ok, there is not a lot of space left.
[admin@MikroTik] /system/package> pri
Columns: NAME, VERSION, BUILD-TIME, SIZE
# NAME          VERSION  BUILD-TIME           SIZE     
0 wifi-qcom-ac  7.15rc1  2024-04-18 09:17:28  2676.1KiB
1 zerotier      7.15rc1  2024-04-18 09:17:28  692.1KiB 
2 routeros      7.15rc1  2024-04-18 09:17:28  11.0MiB 
[admin@MikroTik] /system/resource> print
                   uptime: 3m24s
                  version: 7.15rc1 (testing)
               build-time: 2024-04-18 09:17:28
         factory-software: 6.44
              free-memory: 37.5MiB
             total-memory: 128.0MiB
                      cpu: ARM
                cpu-count: 4
            cpu-frequency: 448MHz
                 cpu-load: 4%
           free-hdd-space: 104.0KiB
          total-hdd-space: 15.2MiB
  write-sect-since-reboot: 312
         write-sect-total: 50294
        architecture-name: arm
               board-name: hAP ac^2
                 platform: MikroTik

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], jaclaz, Nukleari and 33 guests