OPNsense Forum

English Forums => Hardware and Performance => Topic started by: nwt on March 03, 2021, 02:43:48 AM

Title: Trouble setting up Supermicro X9 with software RAID
Post by: nwt on March 03, 2021, 02:43:48 AM
I've tried setting up OPNsense once before on top of ESXi and almost got it completely working but put the project on the back burner. I've recently decided to give it another go, but this time with dedicated hardware. I'm using this Supermicro X9DBU-3F system with an Intel C606 chipset (https://www.ebay.com/itm/SUPERMICRO-CSE-825MTQ-R700UB-X9DBU-3F-2x-E5-2420v2-2-2-GHZ-8GB-2U-Server/373458319223?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057872.m2749.l2649), plus two SSDs I want to mirror.

I'm not very experienced with software RAID, but I found these instructions for setting up GEOM (https://www.thomas-krenn.com/en/wiki/OPNsense_Software_RAID_1_setup).

I'm pretty sure this is about where I went wrong, so before I get too deep into posting screenshots of console output... Is GEOM meant to interact with a software RAID controller, or does it prefer simpler access to normal disks? I ended up installing to a volume generated by the controller, so maybe that's where I went wrong.
Title: Re: Trouble setting up Supermicro X9 with software RAID
Post by: nwt on March 03, 2021, 03:24:23 AM
I've decided to go ahead and revert my disks to non-raid in the controller and now I see mirror/OPNsense in the drive list as shown in the GEOM instructions. However, when trying to install there, it fails immediately with code gpart 126.

(https://i.ibb.co/cc84pFx/select-a-disk.jpg) (https://ibb.co/TB09n8r)

(https://i.ibb.co/MVRzcrK/code126.jpg) (https://ibb.co/0Mf0CT1)

Selecting ada0 results in the same error.

Earlier, when I had attempted to install to the controller raid1 volume, it seemed to install but then wouldn't boot afterward, showing some storage problems in the console output.

(https://i.ibb.co/NFYQG0K/cantopen.png) (https://ibb.co/WHKqRrf)

(https://i.ibb.co/fnTYBfg/stuck.jpg) (https://ibb.co/NmG6Q5v)

Here's what my onboard raid setup looks like. This was from before I reverted the disk status to non-raid.

(https://i.ibb.co/JR0br5r/array.jpg) (https://ibb.co/7J8Tr2r)

edit: After disabling raid mode in the motherboard bios, it seems to be installing...

edit: Aaaaand it seems to boot up just fine :)