OPNsense Forum

English Forums => 25.7 Series => Topic started by: macafee on September 24, 2025, 03:53:29 PM

Title: BUG: ZFS RAIDZ BOOT!
Post by: macafee on September 24, 2025, 03:53:29 PM
Recently, I fresh installed the 25.7 opnsense using zfs raidz1 with 3-disks for booting.
Unfortunately, the disk0 was failed and I rebooted the system today.
Now the system can't boot because the boot files in disk1 efi partition was wrong.
Those files were totally different with the disk0 in the efi partition and the disk1 efi partition only 779KB.
The disk3 efi partition was not recognized.
I need newfs_msdos -F32 -c 1 disk1 and cp the /boot/loader.efi to the efi partition to fix the boot problem.
After that, I can boot into system and replace the disk0 with the new disk.
What an amazing BUG this is!!!
Title: Re: BUG: ZFS RAIDZ BOOT!
Post by: BrandyWine on September 24, 2025, 06:18:54 PM
Can you fit in a 4th drive?

Also, perhaps related --> https://forums.freebsd.org/threads/openzfs-2-3-on-14-3-stable-boot-fails-with-zfs-unsupported-feature-org-openzfs-raidz_expansion-after-zpool-upgrade.98998/
Title: Re: BUG: ZFS RAIDZ BOOT!
Post by: macafee on September 25, 2025, 02:15:30 AM
Quote from: BrandyWine on September 24, 2025, 06:18:54 PMCan you fit in a 4th drive?

Also, perhaps related --> https://forums.freebsd.org/threads/openzfs-2-3-on-14-3-stable-boot-fails-with-zfs-unsupported-feature-org-openzfs-raidz_expansion-after-zpool-upgrade.98998/
I haven't a 4th disk.
The article is about raidz_expansion and gptzfsboot but I use the UEFI boot without raidz_expansion.