OPNsense Forum

English Forums => General Discussion => Topic started by: spetrillo on October 21, 2021, 10:36:40 PM

Title: Custom Install
Post by: spetrillo on October 21, 2021, 10:36:40 PM
Hello all,

I have a 256 gig NVMe drive installed on my OPNsense firewall. I would like to do a custom install, so I can partition the drive and move Suricata logs to a second partition. Is this doable?

Thanks,
Steve
Title: Re: Custom Install
Post by: franco on October 22, 2021, 03:59:37 PM
Hi Steve,

It's probably possible to add a mount-point at /var/log to an existing system. The new installer in 21.7 also offers more options with the FreeBSD-based install routines to customize the target system.

ZFS might also be interesting, because ZFS can prevent depletion of space in physical partitions as long as the pool has free space available.


Cheers,
Franco
Title: Re: Custom Install
Post by: spetrillo on October 22, 2021, 05:30:54 PM
Hi Franco,

Thanks for the insight. On the ZFS front do I need two drives of the same size and type to take advantage of ZFS?

Yes moving the mount point for /var/log might be the simplest thing to do. Just do a UFS install on the NVMe drive and then just move the mount point to another drive.

Thanks,
Steve