OPNsense Software RAID 1 setup

From Thomas-Krenn-Wiki
Jump to navigation Jump to search

The Open Source Firewall OPNsense supports Software RAID, similar to Linux. We show in this article, how to create a Software RAID1 (mirror) during the OPNsense installation and which possibilities there are for monitoring. With the release of OPNsense 21.7 ZFS has found its way into the installer, now you can create a ZFS mirror.[1]

OPNSense firewalls at Thomas-Krenn

Installation on Software RAID 1 (up to OPNsense 21.1)

During the installation of OPNsense you can set up the Software RAID 1 (GEOM Mirror):

OPNsense 21.7

With the new installer of OPNsense 21.7, ZFS has now officially arrived, you can now create a ZFS mirror among other things. In the OPNsense installer, select the line Install (ZFS) and follow the instructions.

Monitoring

After installation you can monitor this GEOM mirror with the os-monit plugin and a script. Information can be found in the OPNsense Forum.[2]

References

  1. OPNsense 21.7 released (opnsense.org, 21.07.2021): [... The installer was replaced to offer native ZFS installations and prevent glitches in virtual machines using UEFI. [...]
  2. Re: Query status of GEOM Mirror (gmirror) RAID1 (forum.opnsense.org, 02.05.2017)

Further information


Foto Werner Fischer.jpg

Author: Werner Fischer

Werner Fischer, working in the Knowledge Transfer team at Thomas-Krenn, completed his studies of Computer and Media Security at FH Hagenberg in Austria. He is a regular speaker at many conferences like LinuxTag, OSMC, OSDC, LinuxCon, and author for various IT magazines. In his spare time he enjoys playing the piano and training for a good result at the annual Linz marathon relay.


Related articles

Install OPNsense
OPNsense HA Cluster configuration
Reduce OPNsense boot time