On 2019-06-02 22:54, Atanas Vladimirov wrote:
Hello,
I'm not sure if I will explain the problem right, so, please do not
hesitate to ask for additional info.
I did a new OpenBSD install (latest snapshot) on a test machine with
four 1TB HDDs. My plan was to split each hdd
into two slices - one for RAID1 and one for RAID5:
hodor# disklabel sd0
# /dev/rsd0c:
type: SCSI
disk: SCSI disk
label: WDC WD1003FBYZ-0
duid: 291c3978d096d35e
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 121601
total sectors: 1953525168
boundstart: 64
boundend: 1953520065
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg]
a: 1048578551 64 RAID
c: 1953525168 0 unused
d: 904941450 1048578615 RAID
So, during the install I created the RAID volumes successfully.
Volume Status Size Device
softraid0 0 Online 536871947776 sd6 RAID1
0 Online 536871947776 0:0.0 noencl <sd0a>
1 Online 536871947776 0:1.0 noencl <sd1a>
2 Online 536871947776 0:2.0 noencl <sd2a>
3 Online 536871947776 0:3.0 noencl <sd3a>
Volume Status Size Device
softraid0 1 Online 1389989068800 sd7 RAID5
0 Online 463329752064 1:0.0 noencl <sd0d>
1 Online 463329752064 1:1.0 noencl <sd1d>
2 Online 463329752064 1:2.0 noencl <sd2d>
3 Online 463329752064 1:3.0 noencl <sd3d>
Then finished the installation the regular way, installing on the RAID1
volume.
The problem is that after reboot the process stopped at bootloader
"disks:" line - I've recorded a short video [0]
Then I tried to UEFI boot from "miniroot65.fs" (another short video
[1]) and this time the server booted.
After that I made a few re-installations to be sure that the problem
reoccurs. If I do the installation without creating the RAID5
volume during the installation the server boots okay from RAID1.
Then, creating the RAID5 volume and another reboot breaks the next
boot the same way.
An UEFI installation works as expected.
[0] https://hodor.bsdbg.net/legacy_boot.avi
[1] https://hodor.bsdbg.net/uefi_boot.avi
Hello again,
I'm writing because no one answer me and I'm starting to think if this
is not related only to my hardware.
I will appreciate any input, really! Thanks in advance and sorry to
bother you,
Atanas