Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
19.1 Legacy Series
»
[SOLVED] 19.1.7 update fails - disk full
« previous
next »
Print
Pages: [
1
]
2
3
Author
Topic: [SOLVED] 19.1.7 update fails - disk full (Read 26222 times)
chemlud
Hero Member
Posts: 2485
Karma: 112
[SOLVED] 19.1.7 update fails - disk full
«
on:
May 05, 2019, 03:18:28 pm »
Hi!
Tryingto update a 4GB Cf-card install of 386 nano (currently on 19.1.4), but after downloading all updates the install process gives "disk full" and update fails...
Any ideas?
«
Last Edit: May 20, 2019, 12:08:11 pm by franco
»
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare
felix eichhorns premium katzenfutter mit der extraportion energie
A router is not a switch - A router is not a switch - A router is not a switch - A rou....
chemlud
Hero Member
Posts: 2485
Karma: 112
Re: 19.1.7 update fails - disk full
«
Reply #1 on:
May 05, 2019, 05:47:07 pm »
Tried 4-5 more times, always stops with disk full when installing ruby. But in Dashboard disk is only 33% used. Very strange.
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare
felix eichhorns premium katzenfutter mit der extraportion energie
A router is not a switch - A router is not a switch - A router is not a switch - A rou....
hbc
Hero Member
Posts: 501
Karma: 47
Re: 19.1.7 update fails - disk full
«
Reply #2 on:
May 05, 2019, 05:58:45 pm »
The packages are compressed. Did you try to download and extract the ruby package on other pc? Is the extracted size + the size of all downloaded update packages smaller than your free diskspace?
Logged
Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz (24 cores)
256 GB RAM, 300GB RAID1, 3x4 10G Chelsio T540-CO-SR
chemlud
Hero Member
Posts: 2485
Karma: 112
Re: 19.1.7 update fails - disk full
«
Reply #3 on:
May 05, 2019, 06:08:08 pm »
32% of 4 GB means roughly 2.6 GB free, do you really think there are packages of that size?
Additional info:
RAM = 2 GB
/var is on disk, /temp in RAM
I tried to reboot the system with /var in RAM, but it never came back (mixed system, as some updates had been done already). Have a dd-copy of the functional card (before updating) and now I'm ready for next try. Better to have /var and /temp in memory?
«
Last Edit: May 05, 2019, 06:16:17 pm by chemlud
»
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare
felix eichhorns premium katzenfutter mit der extraportion energie
A router is not a switch - A router is not a switch - A router is not a switch - A rou....
chemlud
Hero Member
Posts: 2485
Karma: 112
Re: 19.1.7 update fails - disk full
«
Reply #4 on:
May 05, 2019, 06:39:20 pm »
...total download for this update is 163 MiB, so not really sure there will be coming out something with more than 1 GiB size?
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare
felix eichhorns premium katzenfutter mit der extraportion energie
A router is not a switch - A router is not a switch - A router is not a switch - A rou....
chemlud
Hero Member
Posts: 2485
Karma: 112
Re: 19.1.7 update fails - disk full
«
Reply #5 on:
May 05, 2019, 07:50:00 pm »
Next try with /var and /tmp in RAM, same result:
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare
felix eichhorns premium katzenfutter mit der extraportion energie
A router is not a switch - A router is not a switch - A router is not a switch - A rou....
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: 19.1.7 update fails - disk full
«
Reply #6 on:
May 06, 2019, 08:54:08 am »
Uh, oh:
https://github.com/opnsense/changelog/blob/9473107466ada781911c6a9a8c353f9c8ee9ee9c/doc/19.1/19.1.7#L11-L14
If you have ruby try to deinstall the plugins using it to salvage a bit of free space first. Then upgrade and try to reinstall the plugins:
$ git grep 'PLUGIN_DEPENDS.*ruby'
benchmarks/iperf/Makefile:PLUGIN_DEPENDS= iperf3 ruby
net/frr/Makefile:PLUGIN_DEPENDS= frr6 ruby
security/tor/Makefile:PLUGIN_DEPENDS= tor ruby
It might be that pkg does something weird in /var and /tmp so the best option is to *not* use RAM MFS in these scenarios, because 1G may be a bit small...
Cheers,
Franco
Logged
chemlud
Hero Member
Posts: 2485
Karma: 112
Re: 19.1.7 update fails - disk full
«
Reply #7 on:
May 06, 2019, 09:38:12 am »
Plugins can be uninstalled how? :-)
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare
felix eichhorns premium katzenfutter mit der extraportion energie
A router is not a switch - A router is not a switch - A router is not a switch - A rou....
monstermania
Hero Member
Posts: 524
Karma: 47
Re: 19.1.7 update fails - disk full
«
Reply #8 on:
May 06, 2019, 10:47:07 am »
FYI
My x64 Nano OPNsense (Intel Atom D525, 2 GB RAM, 8 GB CF-Card) updated without any problems to 19.1.7.
/var and /tmp in RAM
only ftpproxy-plugin installed
Logged
chemlud
Hero Member
Posts: 2485
Karma: 112
Re: 19.1.7 update fails - disk full
«
Reply #9 on:
May 06, 2019, 11:21:17 am »
...so only apparent difference is size of CF-card? (and 64bit board)
But as the little machines are end-of-life for opnsense by the end of the year I don't want to buy larger cards now. Don't use CF-cards anymore in other devices.
«
Last Edit: May 06, 2019, 11:25:14 am by chemlud
»
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare
felix eichhorns premium katzenfutter mit der extraportion energie
A router is not a switch - A router is not a switch - A router is not a switch - A rou....
chemlud
Hero Member
Posts: 2485
Karma: 112
Re: 19.1.7 update fails - disk full
«
Reply #10 on:
May 06, 2019, 11:42:25 am »
@franco
dyndns, tucan and wol ar the only plugins installed by me on this system. No way to remove any preinstalled plugins, or?
PS: Tried with /var and /tmp on disk, not in RAM, same result....
«
Last Edit: May 06, 2019, 12:34:13 pm by chemlud
»
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare
felix eichhorns premium katzenfutter mit der extraportion energie
A router is not a switch - A router is not a switch - A router is not a switch - A rou....
ky41083
Newbie
Posts: 45
Karma: 3
Re: 19.1.7 update fails - disk full
«
Reply #11 on:
May 07, 2019, 07:55:08 pm »
You're probably out of inodes, like me.
Code:
[Select]
df -ih
Code:
[Select]
dmesg
should show something to the effect of:
Code:
[Select]
pid 62215 (pkg-static), uid 0 inumber 16868 on : out of inodes
Nano install, 4GB disk. This is irritating to say the least...
Pretty sure we cannot expand this, even in single user mode. Best course of action here, devs?
Logged
ky41083
Newbie
Posts: 45
Karma: 3
Re: 19.1.7 update fails - disk full
«
Reply #12 on:
May 07, 2019, 08:10:13 pm »
Is it possible to specify inodes at some point in the ISO installer? Or does the ISO installer format with more UFS inodes by default than the NANO disk image was created with?
Please, please bump up the inode count in the NANO image
I have 1 plugin installed, DynDNS. Can't remember which OPNsense version I started with, but it has been at least 1 year since I setup this install, applied pretty much every update over the course. I would say that this is an undesired usage pattern for resulting in total system breakdown
Logged
chemlud
Hero Member
Posts: 2485
Karma: 112
Re: 19.1.7 update fails - disk full
«
Reply #13 on:
May 09, 2019, 08:51:39 am »
Are we really the only two users in the whole wide world with thisproblem? :-/
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare
felix eichhorns premium katzenfutter mit der extraportion energie
A router is not a switch - A router is not a switch - A router is not a switch - A rou....
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: 19.1.7 update fails - disk full
«
Reply #14 on:
May 09, 2019, 09:00:27 am »
You can deinstall ruby easily, not sure how it ended up there:
# pkg remove ruby
Do you have /usr/ports on your install? I remember you building Unbound...
Yes, no inodes is an issue... a lot of small files will "fill" your system even though space is not an issue. Find the lots of files and delete them.
Cheers,
Franco
Logged
Print
Pages: [
1
]
2
3
« previous
next »
OPNsense Forum
»
Archive
»
19.1 Legacy Series
»
[SOLVED] 19.1.7 update fails - disk full