OPNsense Forum

English Forums => General Discussion => Topic started by: yanndecay on December 19, 2023, 01:44:58 am

Title: ZFS mirror installation with disks of different size
Post by: yanndecay on December 19, 2023, 01:44:58 am
Hello guys,

am I able to do a ZFS mirror installation of OPNsense with disks of different size?

I only have 1x SATA and 1x mSATA on my board available and would like to use one of my solid Intel DC SSDs. Thing is they only have 100GB and I cannot find another mSATA disk with the same size.

Am I able to simply buy a 120/128GB mSATA disk and make it work somehow (like with partitioning before the installation)? I wouldn't mind loosing those 20/28GB. Or doesn't it work cause the OPNsense installer will fully wipe the whole disk anyway and wouldn't proceed cause no mirror can be build with different disk sizes?

If yes, is there anything what I can do to make this work?

Greetings!
Yann
Title: Re: ZFS mirror installation with disks of different size
Post by: Patrick M. Hausen on December 19, 2023, 07:16:08 am
Just install. This will automatically create a mirror the size of the smaller disk.
Title: Re: ZFS mirror installation with disks of different size
Post by: yanndecay on December 19, 2023, 11:39:23 am
Perfect, that's what I wanted to hear. Just wanted to make sure before I buy anything. Thank you!