OPNsense
  • 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 7137 times)

ky41083

  • Newbie
  • *
  • Posts: 38
  • Karma: 3
    • View Profile
Re: 19.1.7 update fails - disk full
« Reply #30 on: May 13, 2019, 08:18:44 pm »
The size of a single UFS2 inode appears to be 256 bytes.

Reference: http://www.ico.aha.ru/h/The_Design_and_Implementation_of_the_FreeBSD_Operating_System/ch08lev1sec2.htm

Disk space per inode count examples:

5,000,000 = 1221MB
1,500,000 = 366MB
1,000,000 = 244MB
500,000 = 122MB
250,000 = 61MB

I feel like we can get away with a little more than 250,000 ;)
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 10032
  • Karma: 756
    • View Profile
Re: 19.1.7 update fails - disk full
« Reply #31 on: May 15, 2019, 08:43:59 am »
growfs and not upping inodes is a problem we cannot solve. We can go to 400-500k inodes, but I don't see the point in doing millions just for the off-chance of growfs happening. The installer is way more effective in this case.


Cheers,
Franco
Logged

ky41083

  • Newbie
  • *
  • Posts: 38
  • Karma: 3
    • View Profile
Re: 19.1.7 update fails - disk full
« Reply #32 on: May 15, 2019, 06:53:23 pm »
Right, agreed. I like 500,000 better ;)

That definitely makes things better than they were. At around 50k, simply installing a NANO image, and updating to current, will brick the install.

Thank you sir!

PS: If you want me to try a test image, I can do that, but not until the weekend.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 10032
  • Karma: 756
    • View Profile
Re: 19.1.7 update fails - disk full
« Reply #33 on: May 16, 2019, 06:48:03 pm »
Here's a snapshot:

https://pkg.opnsense.org/FreeBSD:11:amd64/snapshots/OPNsense-201905160745-LibreSSL-nano-amd64.img.bz2

I think it came out around 800k for some reason, but that's ok too I guess.


Cheers,
Franco
Logged

ky41083

  • Newbie
  • *
  • Posts: 38
  • Karma: 3
    • View Profile
Re: 19.1.7 update fails - disk full
« Reply #34 on: May 19, 2019, 10:48:12 pm »
Looks good to me. Booted, checked inodes, configured a few simple services, nothing broke.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 10032
  • Karma: 756
    • View Profile
Re: 19.1.7 update fails - disk full
« Reply #35 on: May 20, 2019, 12:07:58 pm »
Neat, thanks for all the help! Next images will be 19.7.


Cheers,
Franco
Logged

ky41083

  • Newbie
  • *
  • Posts: 38
  • Karma: 3
    • View Profile
Re: [SOLVED] 19.1.7 update fails - disk full
« Reply #36 on: May 23, 2019, 11:47:33 am »
Not a problem :D

Thank you for all the fixing ;D
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 1241
  • Karma: 54
    • View Profile
Re: [SOLVED] 19.1.7 update fails - disk full
« Reply #37 on: May 23, 2019, 11:54:05 am »
Ladies, can you enlighten me what the official way to fix this is? :-) Many thanks in advance...
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 10032
  • Karma: 756
    • View Profile
Re: [SOLVED] 19.1.7 update fails - disk full
« Reply #38 on: May 23, 2019, 01:34:23 pm »
Needs a reflash with above image. No fixing this otherwise.


Cheers,
Franco
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 1241
  • Karma: 54
    • View Profile
Re: [SOLVED] 19.1.7 update fails - disk full
« Reply #39 on: May 23, 2019, 02:07:44 pm »
Thanks, Franco!

Due to the problems of LibreSSL + unbound with DNS-over-TLS I use openSSL on these nano installs. Should I use the LibreSSL image and switch afterwards to openSSL or is there a more direct approach?

PS: Could you post the sha256 for the image here? Many, many thanks in advance! :-)
« Last Edit: May 23, 2019, 02:14:38 pm by chemlud »
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 10032
  • Karma: 756
    • View Profile
Re: [SOLVED] 19.1.7 update fails - disk full
« Reply #40 on: May 23, 2019, 03:01:15 pm »
Created a vanilla 19.1.8 OpenSSL for you...

e5647314586ab8d321ff6adbfc4842fe135ee4ad23c3a99df0a0b1fd9704a6a6  OPNsense-19.1.8-OpenSSL-nano-amd64.img.bz2

https://pkg.opnsense.org/FreeBSD:11:amd64/snapshots/OPNsense-19.1.8-OpenSSL-nano-amd64.img.bz2


Cheers,
Franco
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 1241
  • Karma: 54
    • View Profile
Re: [SOLVED] 19.1.7 update fails - disk full
« Reply #41 on: May 23, 2019, 03:07:23 pm »
pörfect!

:-)
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

heiko

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: [SOLVED] 19.1.7 update fails - disk full
« Reply #42 on: July 14, 2019, 11:41:56 pm »
@franco: would it be possible/easy for you to build an updated i386 image? (e.g. for use with alix boards)
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 10032
  • Karma: 756
    • View Profile
Re: [SOLVED] 19.1.7 update fails - disk full
« Reply #43 on: July 15, 2019, 09:38:34 am »
You can use the RC1 image or wait 2 days for 19.7 images.

https://pkg.opnsense.org/releases/19.7/


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
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2021 All rights reserved
  • SMF 2.0.17 | SMF © 2019, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2