On Sat, Jun 29, 2019 at 01:35:52PM -0400, Gao-Mi Baohao wrote:
> On openbsd sparc64, your RAID slice must be slice 'a' on your physical
> disks, unless you use a separate boot partition (ref: source for the
> sparc64 stage0).

Sorry if I didn't say that, but it is.  As mentioned at the FAQ, I did

bioctl -c 1 -l sd2a,sd3a softraid0

And then installed onto my softraid, sd4.

> Once you've got the system installed, you can boot with e.g. "boot disk0
> sr0a:/bsd" (slice a of the consolidated softraid volume) and to make the
> config persistent, set openboot env boot-device = disk0 and boot-file =
> sr0a:/bsd .

I saw this, but presumed sr0a wasn't literal.  I did try that, but it
says:

{0} ok boot disk2 sr0a:/bsd
Boot device: /pci@0/pci@0/pci@2/scsi@0/disk@2  File and args: sr0a:/bsd
OpenBSD IEEE 1275 Bootblock 1.4
>> OpenBSD BOOT 1.12
ERROR: /iscsi-hba: No iscsi-network-bootpath property
Unknown device: sr0
Cannot boot from softraid: Unknown error: code 19
Program terminated
{0} ok 

If I go back to trying to boot off of disk2 or disk3, specifying
sd2a:/bsd, sd3a:/bsd, or sd4a:/bsd as boot-file, I simply am seeing:


OpenBSD BOOT 1.12
ERROR: /iscsi-hba: No iscsi-network-bootpath property
open /pci@0/pci@0/pci@2/scsi@0/disk@2,0:a/etc/random.seed: Invalid argument
open /pci@0/pci@0/pci@2/scsi@0/disk@2,0:a/sd4a:/bsd: Invalid argument

or

open /pci@0/pci@0/pci@2/scsi@0/disk@2,0:a/sd2a:/bsd: Invalid argument

or whatever I give as a boot-file value.

So whatever the bootloader needs to see to find the filesystem seems not to
be working.  The RAID filesystem on sd2a and sd3a, on which the softraid is
built, seems not to be able to be loaded from.

Apologies if I'm missing something in the advice you responded with.

> > So, does anyone have a recent walkthrough of how to install OpenBSD 6 onto
> > a sparc RAID1?  Thanks much.

        - Chris

Reply via email to