On Fri, Jul 12, 2019 at 11:53:34AM -0400, Chris Ross wrote: > > Just an update, hopefully I'll have more to report by next week. > > [- installed softraid onto sd2/sd3, with a larger SR_BOOT_LOADER_SIZE, > but either that change, or something I did wrong in assembling the > softraid, caused an additional error when trying to boot. -]
So, I tried a few things to re-write and update the disk labels on sd2/sd3, and on the softraid (sd4). I tried reinstalling the boot blocks and loader on the softraid. I seem to always get this error, with the normal and with the debugging version of ofwboot. So, my plan to get more information to help debug why ofwboot is able to boot from a softraid mirror on sd0/sd1, but _not_ on sd2/sd3, I am stuck. If someone has some ideas of what I did wrong, or if making the change to SR_BOOT_LOADER_SIZE is causing this, let me know. I swear when I built a installation on sd0/sd1 with the larger SR_BOOT_LOADER_SIZE I did _not_ see this error, so I think I may just have messed up setting up the sd2/sd3 softraid, but I can't figure out out to fix it. But, lacking any other suggestions, I'm going to bail at this point. We should document that on sparc64, ofwboot knows how to boot from softraid, but at the moment it appears not to work other than sd0/sd1. Or, if someone else has a system running where they're booting off of a softraid mirror on later disks, let me know. But, for my use case, I'm just going to drop back to sd0/sd1, which seemed to work. Thanks all. - Chris > I'm seeing an additional error that implies I did something wrong: > > {0} ok boot disk2 sr0 > > Boot device: /pci@0/pci@0/pci@2/scsi@0/disk@2 File and args: sr0 > OpenBSD IEEE 1275 Bootblock 1.4 > >> OpenBSD BOOT 1.12 > ERROR: /iscsi-hba: No iscsi-network-bootpath property > Bad magic number in disk label > Can't open disk label package > Unknown device: sr0 > Cannot boot from softraid: Unknown error: code 19 > Program terminated > {0} ok >