[SOLVED] 19.1.7 update fails - disk full

Started by chemlud, May 05, 2019, 03:18:28 PM

Previous topic - Next topic
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 ;)

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

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.

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

Looks good to me. Booted, checked inodes, configured a few simple services, nothing broke.

Neat, thanks for all the help! Next images will be 19.7.


Cheers,
Franco

Not a problem :D

Thank you for all the fixing ;D

Ladies, can you enlighten me what the official way to fix this is? :-) Many thanks in advance...
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....

Needs a reflash with above image. No fixing this otherwise.


Cheers,
Franco

May 23, 2019, 02:07:44 PM #39 Last Edit: May 23, 2019, 02:14:38 PM by chemlud
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! :-)
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....

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

pörfect!

:-)
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: would it be possible/easy for you to build an updated i386 image? (e.g. for use with alix boards)

You can use the RC1 image or wait 2 days for 19.7 images.

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


Cheers,
Franco