19.1.4 ISO - ZFS install option missing?

Started by survive, March 31, 2019, 05:00:34 AM

Previous topic - Next topic
Hi guys,

I've been having problems with Unbound crashing since I moved to 19.1, so I want to do a fresh install of 19.1.4. Problem is I usually install on ZFS & I'm not seeing a way to do so in 19.1.4.

Is this feature missing in 19.1.4, or am I just missing something obvious?

-Will

There are (as has been for a number of years) not enough available resources to implement ZFS installer yet.


Cheers,
Franco

RE unbound on 19.1, are you using LibreSSL?

Then this might help:

https://forum.opnsense.org/index.php?topic=11657.msg55526#msg55526
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....

With regards to ZFS: I've just done 2 conversions from vanilla "FreeBSD on ZFS" to OPNSense (opnsense-bootstrap) and they both work as expected, ran the script, rebooted, was in webgui.

QuoteWith regards to ZFS: I've just done 2 conversions from vanilla "FreeBSD on ZFS" to OPNSense (opnsense-bootstrap) and they both work as expected, ran the script, rebooted, was in webgui.

Can you write short guide/tutorial how to use ZFS in OPNsense? Did you install FreeBSD first and then all this OPNsense stuff or did you have a script to convert OPNsense to ZFS?
Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz (24 cores)
256 GB RAM, 300GB RAID1, 3x4 10G Chelsio T540-CO-SR

ZFS should be installed on system that has ecc ram and 8GB min. Do you have such system ? If you don't have such system then you might have any stable OS filesystem or even leads to filesystem corruption.
-RackG

QuoteZFS should be installed on system that has ecc ram and 8GB min. Do you have such system?

I have 512GB ram. Think this will not be an issue. I just wonder how an ZFS installation would work.
Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz (24 cores)
256 GB RAM, 300GB RAID1, 3x4 10G Chelsio T540-CO-SR

Wow 512GB RAM !!! ZFS really loves it . Is it a firewall do you use squid or some caching memeroy devices. We can actually contribute ZFS installer if there is a strong use case for it be be part of firewall.
-RackG

Yes, we run squid and sensei. There are several 10GbE chelsio cards in this machine. Also has dual XEON.  ;)
Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz (24 cores)
256 GB RAM, 300GB RAID1, 3x4 10G Chelsio T540-CO-SR

ZFS is designed such a way that it will actually take away all your free memeroy space. what ZFS features you will be using it ? How much is your system free memory at peak usage ?
-RackG

Quote from: hbc on April 01, 2019, 09:26:35 AM
QuoteWith regards to ZFS: I've just done 2 conversions from vanilla "FreeBSD on ZFS" to OPNSense (opnsense-bootstrap) and they both work as expected, ran the script, rebooted, was in webgui.

Can you write short guide/tutorial how to use ZFS in OPNsense? Did you install FreeBSD first and then all this OPNsense stuff or did you have a script to convert OPNsense to ZFS?

FreeBSD was already installed on ZFS, then it was a simple copy/paste from https://github.com/opnsense/update#opnsense-bootstrap, so the quick guide is:
1) Get FreeBSD installed on ZFS
2) Run the script  ;D

Has anyone taken a look at the way FreeNAS installs to ZFS?

There are a lot of approaches, some easier, some harder. The currently favoured approach is to switch our old "bsdinstaller" to the current FreeBSD "bsdinstall".

The issue is simply nobody offers the time to implement the ZFS installer as of yet.


Cheers,
Franco

Yes, I came here also to get opnsense installed on zfs.

My use case :

Opnsense on bare metal as internet router.
Since it's up all the time (super low power chip!), I want to run a few lightweight vm in bhyve (ie: database for sensor readings).

I guess I will take the "opnsense-bootstrap" road then. By the way, is it supported and feature identical ? Thanks

+1 to get it on the installer !

Or, you could just provide a usb installed image first. We could just make a small script to create zfs array, copy usb dataset to it and bootstrap it.

Thanks

Just curious, is the opnsense-bootstrap method still supported?

And I assume future updates don't care about whether the box was originally an opnsense install or was migrated from a stock FreeBSD install?