Initial Situation:
I have installed OpnSense on a SuperMicro server (bar metal) with two SSDs on UFS as a mirror installation for about 4 years. The two SSDs are: Kingston DC1000B M.2 NVMe SSD 240GB (nda0) and Samsung SSD 883 DCT 240GB (ada0).
Now I want to switch to ZFS, among other things because of the possibility to create a snapshot before a software upgrade.
Problem:
I have installed OpnSense version 24.7 (not 25.x because of my business installation, which is still based on version 24.x) on a USB stick and after a reboot I have selected "Install (ZFS)". Now the OpnSense installer reports that there are no disks present. However, if I select "Install (UFS)", the two SSDs are displayed.
Does anyone have an idea?
Thanks for the help
Do the disks display but after you press Enter it says no disk?
I hit that problem the first time I installed ZFS. I had forgotten to press the space bar to select a disk before Enter. It could be that simple.
Quote from: passeri on March 05, 2025, 11:05:55 PMDo the disks display but after you press Enter it says no disk?
I hit that problem the first time I installed ZFS. I had forgotten to press the space bar to select a disk before Enter. It could be that simple.
No, after I have selected the menu item "Install(ZFS) the installer searches for disks for 2 to 3 second and says then "no disk present". So no disks are shown at all.
I have made a bit more anlaysis:
The command "sysctl kern.diks" shows: kern.disks: ada0 nda0
This means, the kernel sees both ssd!
But the command "gpart show" says:
=> 40 468862048 mirror/OPNsense GPT (224G)
40 409600 1 efi (200M)
409640 1024 2 freebsd-boot (512K)
410664 449987752 3 freebsd-ufs (215G)
450398416 16777216 4 freebsd-swap (8.0G)
467175632 1686456 - free - (823M)
This means it is actually a mirror-installation with a ufs filesystem, which is with the newer versions of OpnSense not possible.
If I use the comand "gpart show ada0" or "gpart show nda0" it just states: "no such geom: ada0"
Are my statements correct and has this something to do, that the ZFS-Installe does not see the disks?
Thanks for any help!