Community discussions

MikroTik App
 
imatmtf
just joined
Topic Author
Posts: 11
Joined: Tue Jan 09, 2024 3:34 pm

Not enough disk space

Tue Jan 09, 2024 3:44 pm

The free-hdd-space is not seen as such by the package updater.
> /system/resource/print
uptime: 3m11s
version: 7.8 (stable)
build-time: Feb/24/2023 09:03:00
factory-software: 6.42.1
free-memory: 8.8MiB
total-memory: 32.0MiB
cpu: MIPS 24Kc V7.4
cpu-count: 1
cpu-frequency: 650MHz
cpu-load: 15%
free-hdd-space: 7.5MiB <--------
total-hdd-space: 16.0MiB
write-sect-since-reboot: 76
write-sect-total: 34648
architecture-name: smips
board-name: hAP lite
platform: MikroTik

> /system/package/print
Columns: NAME, VERSION
# NAME VERSION
0 routeros 7.8

> /file/print
Columns: NAME, TYPE, CREATION-TIME
# NAME TYPE CREATION-TIME
0 skins directory 1970-01-01 01:00:05

> /system/package/update/download
channel: stable
installed-version: 7.8
latest-version: 7.12.1
status: ERROR: not enough disk space, 7.5MiB is required and only 7.4MiB is free
 
holvoetn
Forum Guru
Forum Guru
Posts: 6981
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: Not enough disk space

Tue Jan 09, 2024 5:51 pm

Pretty sure it's an internal rounding issue.

Netinstall might clear the inner dungeons just enough.
Use 7.12.1 as last stop for that device. It only becomes worse resource-wise with 7.13.
 
User avatar
infabo
Forum Guru
Forum Guru
Posts: 1516
Joined: Thu Nov 12, 2020 12:07 pm

Re: Not enough disk space

Tue Jan 09, 2024 6:31 pm

I experienced this particular problem myself on a hAP lite too. Just that tiny little free space I didnt have - despite I had no files on storage which I could remove to reclaim some space. I had to use netinstall back then. Tick "Keep configuration" and you're pretty much good to go.

Devices with more RAM do have RAM-disk for this, but on these old 32MB-RAM devices this is not possible IIRC. So the update-package has to fit in flash.
 
imatmtf
just joined
Topic Author
Posts: 11
Joined: Tue Jan 09, 2024 3:34 pm

Re: Not enough disk space

Tue Jan 09, 2024 7:07 pm

Pretty sure it's an internal rounding issue.

Netinstall might clear the inner dungeons just enough.
Use 7.12.1 as last stop for that device. It only becomes worse resource-wise with 7.13.
I made the horrible mistake of upgrading from long-term to stable.
Remote downgrade fails.
It is not clear why netinstall should succeed, as the amount of free space does not change.
 
imatmtf
just joined
Topic Author
Posts: 11
Joined: Tue Jan 09, 2024 3:34 pm

Re: Not enough disk space  [SOLVED]

Tue Jan 09, 2024 10:01 pm

I used netinstall to force routeros-smips-6.49.10.npk back into the device, which I shall keep in the long-term stream.
> /system resource print
uptime: 15m39s
version: 6.49.10 (long-term)
build-time: Sep/15/2023 05:06:15
factory-software: 6.42.2
free-memory: 7.5MiB
total-memory: 32.0MiB
cpu: MIPS 24Kc V7.4
cpu-count: 1
cpu-frequency: 650MHz
cpu-load: 1%
free-hdd-space: 7.7MiB
total-hdd-space: 16.0MiB
write-sect-since-reboot: 148
write-sect-total: 69595
bad-blocks: 0%
architecture-name: smips
board-name: hAP mini
platform: MikroTik
 
holvoetn
Forum Guru
Forum Guru
Posts: 6981
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: Not enough disk space

Tue Jan 09, 2024 10:42 pm

Netinstall completely formats internal flash space.
So no worries there.
 
imatmtf
just joined
Topic Author
Posts: 11
Joined: Tue Jan 09, 2024 3:34 pm

Re: Not enough disk space

Thu Jan 25, 2024 3:02 pm

Version 7.13.3 installed on hAP lite.

This is a device that was set aside for a manual downgrade to long-term stream via netboot. It was still connected to the network and thus cron catched it for regular updates. It is up and running. Should I expect it to malfunction and downgrade it anyway?
routerboard: yes
board-name: hAP lite
model: RB941-2nD
serial-number: 9D740999F72F
firmware-type: qca9531L
factory-firmware: 6.42.1
current-firmware: 7.13.3
upgrade-firmware: 7.13.3
 
holvoetn
Forum Guru
Forum Guru
Posts: 6981
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: Not enough disk space

Thu Jan 25, 2024 3:34 pm

As to be expected with border cases: it depends.
How much storage is free ?
What config is on that device which may require storage space ?
...

I have devices with the same storage constraint running already stable for weeks but they're only used as access point with wave2 drivers.
 
imatmtf
just joined
Topic Author
Posts: 11
Joined: Tue Jan 09, 2024 3:34 pm

Re: Not enough disk space

Thu Jan 25, 2024 4:01 pm

> ssh 192.168.1.95 '/system resource print'
uptime: 1h22m45s
version: 7.13.3 (stable)
build-time: Jan/24/2024 13:16:46
factory-software: 6.42.1
free-memory: 7.0MiB
total-memory: 32.0MiB
cpu: MIPS 24Kc V7.4
cpu-count: 1
cpu-frequency: 650MHz
cpu-load: 7%
free-hdd-space: 7.6MiB
total-hdd-space: 16.0MiB
write-sect-since-reboot: 313
write-sect-total: 77339
architecture-name: smips
board-name: hAP lite
platform: MikroTik
 
holvoetn
Forum Guru
Forum Guru
Posts: 6981
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: Not enough disk space

Thu Jan 25, 2024 4:09 pm

7.6Mb storage free ?
Shouldn't be a problem for that aspect then.