ZFS mirror installation with disks of different size

Started by yanndecay, December 19, 2023, 01:44:58 AM

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

Just install. This will automatically create a mirror the size of the smaller disk.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Perfect, that's what I wanted to hear. Just wanted to make sure before I buy anything. Thank you!