OpenBSD/sparc64の話題


Fire V445 6.7インストール備忘録(2020.8.19)

Sun Fire V445にOpenBSD-6.7をインストールしてみました。OpenBSDのsparc64アーキテクチャーは広範囲のハードウェアをサポートしています。

インストールしたマシンのスペックは下記の通りです。

今回もシリアルコンソールを使用しました。

HDDが8台あるため、下記の構成でRAIDを組みました。

用途 RAIDレベル デバイス(chunk)
/パーティション RAID1 sd0aおよびsd1a
swap RAIDなし sd0bおよびsd1b
その他のパーティション RAID5 sd2a、sd3a、sd4a、sd5a、sd6a、sd7a

softraid(4)によると、sparc64アーキテクチャーでは、bootに使用するchunkはaパーティションにする必要があります。また、現状RAID1からしかbootできないとドキュメントに記載があります。(RAID0やRAID5からのbootは試していません。)

OpenBSDのRAIDはsoftraidサブシステムによるものです。これは、RAIDボリュームをSCSI HDDに見せかけます。今回の例では、sd8とsd9が生成されます。RAIDレベルは、RAID0、RAID1、RAID5がサポートされています。残念ながら、RAID6はサポートされていません。

インストールは、OpenBSDのドキュメントの"Installing to a Mirror"節を参考にしました。なお、sparc64にはfdisk(8)は存在しないので、disklabel(8)のみでディスクラベルを操作します。

  1. CD-ROMからインストーラーを起動
    
    {3} ok boot cdrom
    
    SC Alert: Host System has Reset
    Probing system devices
    Probing memory
    Probing I/O buses
    screen not found.
    keyboard not found.
    Keyboard not present.  Using ttya for input and output.
    Probing system devices
    Probing memory
    Probing I/O buses
    
    
    Sun Fire V445, No Keyboard
    Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
    OpenBoot 4.22.33, 32768 MB memory installed, Serial #XXXXXXXX.
    Ethernet address 0:14:4f:XX:XX:XX, Host ID: XXXXXXXX.
    
    (省略)
    
    erase ^?, werase ^W, kill ^U, intr ^C, status ^T
    
    Welcome to the OpenBSD/sparc64 6.7 installation program.
    (I)nstall, (U)pgrade, (A)utoinstall or (S)hell? 
    
    
  2. シェルに抜ける
    
    (I)nstall, (U)pgrade, (A)utoinstall or (S)hell? S
    # 
    
    
  3. SCSI HDDのデバイスファイルを作成する(実HDDおよびRAID用仮想HDDの両方とも)
    
    # cd /dev/
    # sh MAKEDEV sd0 sd1 sd2 sd3 sd4 sd5 sd6 sd7 sd8 sd9
    # 
    
    
  4. 実HDDのディスクラベルを初期化
    
    # dd if=/dev/zero of=/dev/rsd0c bs=1m count=1
    1+0 records in
    1+0 records out
    1048576 bytes transferred in 0.074 secs (13989799 bytes/sec)
    # dd if=/dev/zero of=/dev/rsd1c bs=1m count=1
    1+0 records in
    1+0 records out
    1048576 bytes transferred in 0.073 secs (14218250 bytes/sec)
    # dd if=/dev/zero of=/dev/rsd2c bs=1m count=1
    1+0 records in
    1+0 records out
    1048576 bytes transferred in 0.073 secs (14178050 bytes/sec)
    # dd if=/dev/zero of=/dev/rsd3c bs=1m count=1
    1+0 records in
    1+0 records out
    1048576 bytes transferred in 0.073 secs (14179853 bytes/sec)
    # dd if=/dev/zero of=/dev/rsd4c bs=1m count=1
    1+0 records in
    1+0 records out
    1048576 bytes transferred in 0.074 secs (14148780 bytes/sec)
    # dd if=/dev/zero of=/dev/rsd5c bs=1m count=1
    1+0 records in
    1+0 records out
    1048576 bytes transferred in 0.073 secs (14204190 bytes/sec)
    # dd if=/dev/zero of=/dev/rsd6c bs=1m count=1
    1+0 records in
    1+0 records out
    1048576 bytes transferred in 0.074 secs (14140919 bytes/sec)
    # dd if=/dev/zero of=/dev/rsd7c bs=1m count=1
    1+0 records in
    1+0 records out
    1048576 bytes transferred in 0.074 secs (14152523 bytes/sec)
    # 
    # disklabel sd0
    # /dev/rsd0c:
    type: SCSI
    disk: SCSI disk
    label: DH072BAAKN      
    duid: 0000000000000000
    flags: vendor
    bytes/sector: 512
    sectors/track: 743
    tracks/cylinder: 4
    sectors/cylinder: 2972
    cylinders: 48184
    total sectors: 143374738
    boundstart: 0
    boundend: 143374738
    drivedata: 0 
    
    16 partitions:
    #                size           offset  fstype [fsize bsize   cpg]
      c:        143374738                0  unused                    
    # disklabel sd1
    # /dev/rsd1c:
    type: SCSI
    disk: SCSI disk
    label: DH072BAAKN      
    duid: 0000000000000000
    flags: vendor
    bytes/sector: 512
    sectors/track: 743
    tracks/cylinder: 4
    sectors/cylinder: 2972
    cylinders: 48184
    total sectors: 143374738
    boundstart: 0
    boundend: 143374738
    drivedata: 0 
    
    16 partitions:
    #                size           offset  fstype [fsize bsize   cpg]
      c:        143374738                0  unused                    
    # disklabel sd2
    # /dev/rsd2c:
    type: SCSI
    disk: SCSI disk
    label: DH072BAAKN      
    duid: 0000000000000000
    flags: vendor
    bytes/sector: 512
    sectors/track: 743
    tracks/cylinder: 4
    sectors/cylinder: 2972
    cylinders: 48184
    total sectors: 143374738
    boundstart: 0
    boundend: 143374738
    drivedata: 0 
    
    16 partitions:
    #                size           offset  fstype [fsize bsize   cpg]
      c:        143374738                0  unused                    
    # disklabel sd3
    # /dev/rsd3c:
    type: SCSI
    disk: SCSI disk
    label: DH072BAAKN      
    duid: 0000000000000000
    flags: vendor
    bytes/sector: 512
    sectors/track: 743
    tracks/cylinder: 4
    sectors/cylinder: 2972
    cylinders: 48184
    total sectors: 143374738
    boundstart: 0
    boundend: 143374738
    drivedata: 0 
    
    16 partitions:
    #                size           offset  fstype [fsize bsize   cpg]
      c:        143374738                0  unused                    
    # disklabel sd4
    # /dev/rsd4c:
    type: SCSI
    disk: SCSI disk
    label: DH072BAAKN      
    duid: 0000000000000000
    flags: vendor
    bytes/sector: 512
    sectors/track: 743
    tracks/cylinder: 4
    sectors/cylinder: 2972
    cylinders: 48184
    total sectors: 143374738
    boundstart: 0
    boundend: 143374738
    drivedata: 0 
    
    16 partitions:
    #                size           offset  fstype [fsize bsize   cpg]
      c:        143374738                0  unused                    
    # disklabel sd5
    # /dev/rsd5c:
    type: SCSI
    disk: SCSI disk
    label: DH072BAAKN      
    duid: 0000000000000000
    flags: vendor
    bytes/sector: 512
    sectors/track: 743
    tracks/cylinder: 4
    sectors/cylinder: 2972
    cylinders: 48184
    total sectors: 143374738
    boundstart: 0
    boundend: 143374738
    drivedata: 0 
    
    16 partitions:
    #                size           offset  fstype [fsize bsize   cpg]
      c:        143374738                0  unused                    
    # disklabel sd6
    # /dev/rsd6c:
    type: SCSI
    disk: SCSI disk
    label: DH072BAAKN      
    duid: 0000000000000000
    flags: vendor
    bytes/sector: 512
    sectors/track: 743
    tracks/cylinder: 4
    sectors/cylinder: 2972
    cylinders: 48184
    total sectors: 143374738
    boundstart: 0
    boundend: 143374738
    drivedata: 0 
    
    16 partitions:
    #                size           offset  fstype [fsize bsize   cpg]
      c:        143374738                0  unused                    
    # disklabel sd7
    # /dev/rsd7c:
    type: SCSI
    disk: SCSI disk
    label: DH072BAAKN      
    duid: 0000000000000000
    flags: vendor
    bytes/sector: 512
    sectors/track: 743
    tracks/cylinder: 4
    sectors/cylinder: 2972
    cylinders: 48184
    total sectors: 143374738
    boundstart: 0
    boundend: 143374738
    drivedata: 0 
    
    16 partitions:
    #                size           offset  fstype [fsize bsize   cpg]
      c:        143374738                0  unused                    
    # 
    
    
  5. sd0のディスクラベルを設定(RAID1の1台目の実HDD)
    
    # disklabel -E sd0
    This platform requires that partition offsets/sizes be on cylinder boundaries.
    Partition offsets/sizes will be rounded to the nearest cylinder automatically.
    Label editor (enter '?' for help at any prompt)
    sd0> p
    OpenBSD area: 0-143374738; size: 143374738; free: 143374738
    #                size           offset  fstype [fsize bsize   cpg]
      c:        143374738                0  unused                    
    sd0> a a
    offset: [0] 
    size: [143374738] 1g
    FS type: [4.2BSD] RAID
    sd0*> a b
    offset: [2098232] 
    size: [141276506] 32g
    FS type: [swap] 
    sd0*> p
    OpenBSD area: 0-143374738; size: 143374738; free: 74165774
    #                size           offset  fstype [fsize bsize   cpg]
      a:          2098232                0    RAID                    
      b:         67110732          2098232    swap                    
      c:        143374738                0  unused                    
    sd0*> w
    sd0> q
    No label changes.
    # 
    # disklabel sd0
    # /dev/rsd0c:
    type: SCSI
    disk: SCSI disk
    label: DH072BAAKN      
    duid: b02a0f2722ce9307
    flags: vendor
    bytes/sector: 512
    sectors/track: 743
    tracks/cylinder: 4
    sectors/cylinder: 2972
    cylinders: 48184
    total sectors: 143374738
    boundstart: 0
    boundend: 143374738
    drivedata: 0 
    
    16 partitions:
    #                size           offset  fstype [fsize bsize   cpg]
      a:          2098232                0    RAID                    
      b:         67110732          2098232    swap                    
      c:        143374738                0  unused                    
    # 
    
    
  6. sd2のディスクラベルを設定(RAID5の1台目の実HDD)
    
    # disklabel -E sd2
    This platform requires that partition offsets/sizes be on cylinder boundaries.
    Partition offsets/sizes will be rounded to the nearest cylinder automatically.
    Label editor (enter '?' for help at any prompt)
    sd2> p
    OpenBSD area: 0-143374738; size: 143374738; free: 143374738
    #                size           offset  fstype [fsize bsize   cpg]
      c:        143374738                0  unused                    
    sd2> w
    sd2> a a
    offset: [0] 
    size: [143374738] *
    FS type: [4.2BSD] RAID
    sd2*> p
    OpenBSD area: 0-143374738; size: 143374738; free: 2486
    #                size           offset  fstype [fsize bsize   cpg]
      a:        143372252                0    RAID                    
      c:        143374738                0  unused                    
    sd2*> w
    sd2> q
    No label changes.
    # 
    # disklabel sd2
    # /dev/rsd2c:
    type: SCSI
    disk: SCSI disk
    label: DH072BAAKN      
    duid: f97e1418e088d00c
    flags: vendor
    bytes/sector: 512
    sectors/track: 743
    tracks/cylinder: 4
    sectors/cylinder: 2972
    cylinders: 48184
    total sectors: 143374738
    boundstart: 0
    boundend: 143374738
    drivedata: 0 
    
    16 partitions:
    #                size           offset  fstype [fsize bsize   cpg]
      a:        143372252                0    RAID                    
      c:        143374738                0  unused                    
    # 
    
    
  7. sd1のディスクラベルを設定(RAID1の2台目のHDD。sd0のディスクラベルをコピー)
    
    # cd /tmp
    # disklabel sd0 > layout.RAID1
    # 
    # cat layout.RAID1
    # /dev/rsd0c:
    type: SCSI
    disk: SCSI disk
    label: DH072BAAKN      
    duid: b02a0f2722ce9307
    flags: vendor
    bytes/sector: 512
    sectors/track: 743
    tracks/cylinder: 4
    sectors/cylinder: 2972
    cylinders: 48184
    total sectors: 143374738
    boundstart: 0
    boundend: 143374738
    drivedata: 0 
    
    16 partitions:
    #                size           offset  fstype [fsize bsize   cpg]
      a:          2098232                0    RAID                    
      b:         67110732          2098232    swap                    
      c:        143374738                0  unused                    
    # 
    # disklabel -R sd1 layout.RAID1
    # 
    
    
  8. sd3〜7のディスクラベルを設定(RAID5の2〜6台目のHDD。sd2のディスクラベルをコピー)
    
    # disklabel sd2 > layout.RAID5
    # 
    # cat layout.RAID5
    # /dev/rsd2c:
    type: SCSI
    disk: SCSI disk
    label: DH072BAAKN      
    duid: f97e1418e088d00c
    flags: vendor
    bytes/sector: 512
    sectors/track: 743
    tracks/cylinder: 4
    sectors/cylinder: 2972
    cylinders: 48184
    total sectors: 143374738
    boundstart: 0
    boundend: 143374738
    drivedata: 0 
    
    16 partitions:
    #                size           offset  fstype [fsize bsize   cpg]
      a:        143372252                0    RAID                    
      c:        143374738                0  unused                    
    # 
    # disklabel -R sd3 layout.RAID5
    # disklabel -R sd4 layout.RAID5
    # disklabel -R sd5 layout.RAID5
    # disklabel -R sd6 layout.RAID5
    # disklabel -R sd7 layout.RAID5
    # 
    
    
  9. すべての実HDDのディスクラベルを確認。確認後、一時ファイルを削除
    
    # disklabel sd0
    # /dev/rsd0c:
    type: SCSI
    disk: SCSI disk
    label: DH072BAAKN      
    duid: b02a0f2722ce9307
    flags: vendor
    bytes/sector: 512
    sectors/track: 743
    tracks/cylinder: 4
    sectors/cylinder: 2972
    cylinders: 48184
    total sectors: 143374738
    boundstart: 0
    boundend: 143374738
    drivedata: 0 
    
    16 partitions:
    #                size           offset  fstype [fsize bsize   cpg]
      a:          2098232                0    RAID                    
      b:         67110732          2098232    swap                    
      c:        143374738                0  unused                    
    # disklabel sd1
    # /dev/rsd1c:
    type: SCSI
    disk: SCSI disk
    label: DH072BAAKN      
    duid: 205b258df856e4e9
    flags: vendor
    bytes/sector: 512
    sectors/track: 743
    tracks/cylinder: 4
    sectors/cylinder: 2972
    cylinders: 48184
    total sectors: 143374738
    boundstart: 0
    boundend: 143374738
    drivedata: 0 
    
    16 partitions:
    #                size           offset  fstype [fsize bsize   cpg]
      a:          2098232                0    RAID                    
      b:         67110732          2098232    swap                    
      c:        143374738                0  unused                    
    # disklabel sd2
    # /dev/rsd2c:
    type: SCSI
    disk: SCSI disk
    label: DH072BAAKN      
    duid: f97e1418e088d00c
    flags: vendor
    bytes/sector: 512
    sectors/track: 743
    tracks/cylinder: 4
    sectors/cylinder: 2972
    cylinders: 48184
    total sectors: 143374738
    boundstart: 0
    boundend: 143374738
    drivedata: 0 
    
    16 partitions:
    #                size           offset  fstype [fsize bsize   cpg]
      a:        143372252                0    RAID                    
      c:        143374738                0  unused                    
    # disklabel sd3
    # /dev/rsd3c:
    type: SCSI
    disk: SCSI disk
    label: DH072BAAKN      
    duid: a3d374070366b97b
    flags: vendor
    bytes/sector: 512
    sectors/track: 743
    tracks/cylinder: 4
    sectors/cylinder: 2972
    cylinders: 48184
    total sectors: 143374738
    boundstart: 0
    boundend: 143374738
    drivedata: 0 
    
    16 partitions:
    #                size           offset  fstype [fsize bsize   cpg]
      a:        143372252                0    RAID                    
      c:        143374738                0  unused                    
    # disklabel sd4
    # /dev/rsd4c:
    type: SCSI
    disk: SCSI disk
    label: DH072BAAKN      
    duid: af09797efd683abc
    flags: vendor
    bytes/sector: 512
    sectors/track: 743
    tracks/cylinder: 4
    sectors/cylinder: 2972
    cylinders: 48184
    total sectors: 143374738
    boundstart: 0
    boundend: 143374738
    drivedata: 0 
    
    16 partitions:
    #                size           offset  fstype [fsize bsize   cpg]
      a:        143372252                0    RAID                    
      c:        143374738                0  unused                    
    # disklabel sd5
    # /dev/rsd5c:
    type: SCSI
    disk: SCSI disk
    label: DH072BAAKN      
    duid: a9f76ed02affc750
    flags: vendor
    bytes/sector: 512
    sectors/track: 743
    tracks/cylinder: 4
    sectors/cylinder: 2972
    cylinders: 48184
    total sectors: 143374738
    boundstart: 0
    boundend: 143374738
    drivedata: 0 
    
    16 partitions:
    #                size           offset  fstype [fsize bsize   cpg]
      a:        143372252                0    RAID                    
      c:        143374738                0  unused                    
    # disklabel sd6
    # /dev/rsd6c:
    type: SCSI
    disk: SCSI disk
    label: DH072BAAKN      
    duid: edcc6f5475678863
    flags: vendor
    bytes/sector: 512
    sectors/track: 743
    tracks/cylinder: 4
    sectors/cylinder: 2972
    cylinders: 48184
    total sectors: 143374738
    boundstart: 0
    boundend: 143374738
    drivedata: 0 
    
    16 partitions:
    #                size           offset  fstype [fsize bsize   cpg]
      a:        143372252                0    RAID                    
      c:        143374738                0  unused                    
    # disklabel sd7
    # /dev/rsd7c:
    type: SCSI
    disk: SCSI disk
    label: DH072BAAKN      
    duid: 18e33482db3e1409
    flags: vendor
    bytes/sector: 512
    sectors/track: 743
    tracks/cylinder: 4
    sectors/cylinder: 2972
    cylinders: 48184
    total sectors: 143374738
    boundstart: 0
    boundend: 143374738
    drivedata: 0 
    
    16 partitions:
    #                size           offset  fstype [fsize bsize   cpg]
      a:        143372252                0    RAID                    
      c:        143374738                0  unused                    
    #
    # rm layout.*
    # 
    
    
  10. RAID1ボリュームを作成(末尾に指定するデバイス(softraid controller)は常にsoftraid0)
    
    # bioctl -c 1 -l sd0a,sd1a softraid0
    sd8 at scsibus2 targ 1 lun 0: <OPENBSD, SR RAID 1, 006>
    sd8: 1024MB, 512 bytes/sector, 2097704 sectors
    softraid0: RAID 1 volume attached as sd8
    # 
    
    
  11. RAID5ボリュームを作成(末尾に指定するデバイス(softraid controller)は常にsoftraid0)
    
    # bioctl -c 5 -l sd2a,sd3a,sd4a,sd5a,sd6a,sd7a softraid0
    sd9 at scsibus2 targ 2 lun 0: <OPENBSD, SR RAID 5, 006>
    sd9: 350028MB, 512 bytes/sector, 716858240 sectors
    softraid0: RAID 5 volume attached as sd9
    # 
    
    
  12. RAIDの確認
    
    # bioctl sd8
    Volume      Status               Size Device  
    softraid0 0 Online         1074024448 sd8     RAID1 
              0 Online         1074024448 0:0.0   noencl <sd0a>
              1 Online         1074024448 0:1.0   noencl <sd1a>
    # 
    # bioctl sd9
    Volume      Status               Size Device  
    softraid0 1 Online       367031418880 sd9     RAID5 
              0 Online        73406322688 1:0.0   noencl <sd2a>
              1 Online        73406322688 1:1.0   noencl <sd3a>
              2 Online        73406322688 1:2.0   noencl <sd4a>
              3 Online        73406322688 1:3.0   noencl <sd5a>
              4 Online        73406322688 1:4.0   noencl <sd6a>
              5 Online        73406322688 1:5.0   noencl <sd7a>
    # 
    
    
  13. RAIDボリューム用仮想HDDのディスクラベルを初期化
    
    # dd if=/dev/zero of=/dev/rsd8c bs=1m count=1
    1+0 records in
    1+0 records out
    1048576 bytes transferred in 0.078 secs (13315149 bytes/sec)
    # 
    # dd if=/dev/zero of=/dev/rsd9c bs=1m count=1
    1+0 records in
    1+0 records out
    1048576 bytes transferred in 0.108 secs (9703458 bytes/sec)
    # 
    # disklabel sd8
    # /dev/rsd8c:
    type: SCSI
    disk: SCSI disk
    label: SR RAID 1
    duid: 0000000000000000
    flags: vendor
    bytes/sector: 512
    sectors/track: 63
    tracks/cylinder: 255
    sectors/cylinder: 16065
    cylinders: 130
    total sectors: 2097704
    boundstart: 0
    boundend: 2097704
    drivedata: 0 
    
    16 partitions:
    #                size           offset  fstype [fsize bsize   cpg]
      c:          2097704                0  unused                    
    # 
    # disklabel sd9
    # /dev/rsd9c:
    type: SCSI
    disk: SCSI disk
    label: SR RAID 5
    duid: 0000000000000000
    flags: vendor
    bytes/sector: 512
    sectors/track: 63
    tracks/cylinder: 255
    sectors/cylinder: 16065
    cylinders: 44622
    total sectors: 716858240
    boundstart: 0
    boundend: 716858240
    drivedata: 0 
    
    16 partitions:
    #                size           offset  fstype [fsize bsize   cpg]
      c:        716858240                0  unused                    
    # 
    
    
  14. シェルを抜ける
    
    # exit
    erase ^?, werase ^W, kill ^U, intr ^C, status ^T
    
    Welcome to the OpenBSD/sparc64 6.7 installation program.
    (I)nstall, (U)pgrade, (A)utoinstall or (S)hell? 
    
    
  15. インストールを開始。設定項目に適切に回答し、rootディスクの選択項目まで進む
    
    (I)nstall, (U)pgrade, (A)utoinstall or (S)hell? I
    At any prompt except password prompts you can escape to a shell by
    typing '!'. Default answers are shown in []'s and are selected by
    pressing RETURN.  You can exit this program at any time by pressing
    Control-C, but this can leave your system in an inconsistent state.
    
    Terminal type? [sun]
    
    (省略)
    
    What timezone are you in? ('?' for list) [Asia/Tokyo] 
    
    Available disks are: sd0 sd1 sd2 sd3 sd4 sd5 sd6 sd7 sd8 sd9.
    Which disk is the root disk? ('?' for details) [sd0] 
    
    
  16. rootディスクにRAID1仮想HDD(sd8)を指定する
    
    Which disk is the root disk? ('?' for details) [sd0] sd8
    The auto-allocated layout for sd8 is:
    #                size           offset  fstype [fsize bsize   cpg]
      a:          1011.9M                0  4.2BSD   2048 16384     1 # /
      b:             7.8M          2072385    swap                    
      c:          1024.3M                0  unused                    
    Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a] C
    This platform requires that partition offsets/sizes be on cylinder boundaries.
    Partition offsets/sizes will be rounded to the nearest cylinder automatically.
    Label editor (enter '?' for help at any prompt)
    sd8> p
    OpenBSD area: 0-2097704; size: 2097704; free: 2097704
    #                size           offset  fstype [fsize bsize   cpg]
      c:          2097704                0  unused                    
    sd8> a a
    offset: [0] 
    size: [2097704] *
    FS type: [4.2BSD] 
    mount point: [none] /
    sd8*> p
    OpenBSD area: 0-2097704; size: 2097704; free: 9254
    #                size           offset  fstype [fsize bsize   cpg]
      a:          2088450                0  4.2BSD   2048 16384     1 # /
      c:          2097704                0  unused                    
    sd8*> w
    sd8> q
    No label changes.
    /dev/rsd8a: 1019.8MB in 2088448 sectors of 512 bytes
    6 cylinder groups of 202.50MB, 12960 blocks, 25920 inodes each
    Available disks are: sd0 sd1 sd2 sd3 sd4 sd5 sd6 sd7 sd9.
    Which disk do you wish to initialize? (or 'done') [done] 
    
    
  17. swapとして、sd0bおよびsd1bが選択されるようにする(initializeすると選択したHDDのFS typeがswapであるパーティションが自動的に/etc/fstabのエントリーとして作成されるもよう)
    
    Which disk do you wish to initialize? (or 'done') [done] sd0
    This platform requires that partition offsets/sizes be on cylinder boundaries.
    Partition offsets/sizes will be rounded to the nearest cylinder automatically.
    Label editor (enter '?' for help at any prompt)
    sd0> p
    OpenBSD area: 0-143374738; size: 143374738; free: 74165774
    #                size           offset  fstype [fsize bsize   cpg]
      a:          2098232                0    RAID                    
      b:         67110732          2098232    swap                    
      c:        143374738                0  unused                    
    sd0> q
    No label changes.
    Available disks are: sd1 sd2 sd3 sd4 sd5 sd6 sd7 sd9.
    Which disk do you wish to initialize? (or 'done') [done] sd1
    This platform requires that partition offsets/sizes be on cylinder boundaries.
    Partition offsets/sizes will be rounded to the nearest cylinder automatically.
    Label editor (enter '?' for help at any prompt)
    sd1> p
    OpenBSD area: 0-143374738; size: 143374738; free: 74165774
    #                size           offset  fstype [fsize bsize   cpg]
      a:          2098232                0    RAID                    
      b:         67110732          2098232    swap                    
      c:        143374738                0  unused                    
    sd1> q
    No label changes.
    Available disks are: sd2 sd3 sd4 sd5 sd6 sd7 sd9.
    Which disk do you wish to initialize? (or 'done') [done] 
    
    
  18. その他のパーティションの設定。disklabel(8)のマニュアルページの"AUTOMATIC DISK ALLOCATION"節"Disks >= 10 Gigabytes"を参考に容量をパーセンテージ指定。完了したら、ディスク設定の終了
    
    Which disk do you wish to initialize? (or 'done') [done] sd9
    This platform requires that partition offsets/sizes be on cylinder boundaries.
    Partition offsets/sizes will be rounded to the nearest cylinder automatically.
    Label editor (enter '?' for help at any prompt)
    sd9> p
    OpenBSD area: 0-716858240; size: 716858240; free: 716858240
    #                size           offset  fstype [fsize bsize   cpg]
      c:        716858240                0  unused                    
    sd9> a d
    offset: [0] 
    size: [716858240] 8%
    FS type: [4.2BSD] 
    mount point: [none] /tmp
    sd9*> a e
    offset: [57352050] 
    size: [659506190] 13%
    FS type: [4.2BSD] 
    mount point: [none] /var
    sd9*> a f
    offset: [150545115] 
    size: [566313125] 5%
    FS type: [4.2BSD] 
    mount point: [none] /usr
    sd9*> a g
    offset: [186402195] 
    size: [530456045] 3%
    FS type: [4.2BSD] 
    mount point: [none] /usr/X11R6
    sd9*> a h
    offset: [207913230] 
    size: [508945010] 15%
    FS type: [4.2BSD] 
    mount point: [none] /usr/local
    sd9*> a i
    offset: [315452340] 
    size: [401405900] 2%
    FS type: [4.2BSD] 
    mount point: [none] /usr/src
    sd9*> a j
    offset: [329798385] 
    size: [387059855] 4%
    FS type: [4.2BSD] 
    mount point: [none] /usr/obj
    sd9*> a k
    offset: [358474410] 
    size: [358383830] *
    FS type: [4.2BSD] 
    mount point: [none] /home
    sd9*> p
    OpenBSD area: 0-716858240; size: 716858240; free: 5810
    #                size           offset  fstype [fsize bsize   cpg]
      c:        716858240                0  unused                    
      d:         57352050                0  4.2BSD   2048 16384     1 # /tmp
      e:         93193065         57352050  4.2BSD   2048 16384     1 # /var
      f:         35857080        150545115  4.2BSD   2048 16384     1 # /usr
      g:         21511035        186402195  4.2BSD   2048 16384     1 # /usr/X11R6
      h:        107539110        207913230  4.2BSD   2048 16384     1 # /usr/local
      i:         14346045        315452340  4.2BSD   2048 16384     1 # /usr/src
      j:         28676025        329798385  4.2BSD   2048 16384     1 # /usr/obj
      k:        358378020        358474410  4.2BSD   4096 32768     1 # /home
    sd9*> w
    sd9> q
    No label changes.
    /dev/rsd9k: 174989.3MB in 358378016 sectors of 512 bytes
    215 cylinder groups of 814.44MB, 26062 blocks, 52224 inodes each
    /dev/rsd9d: 28003.9MB in 57352048 sectors of 512 bytes
    139 cylinder groups of 202.50MB, 12960 blocks, 25920 inodes each
    /dev/rsd9f: 17508.3MB in 35857080 sectors of 512 bytes
    87 cylinder groups of 202.50MB, 12960 blocks, 25920 inodes each
    /dev/rsd9g: 10503.4MB in 21511032 sectors of 512 bytes
    52 cylinder groups of 202.50MB, 12960 blocks, 25920 inodes each
    /dev/rsd9h: 52509.3MB in 107539108 sectors of 512 bytes
    260 cylinder groups of 202.50MB, 12960 blocks, 25920 inodes each
    /dev/rsd9j: 14002.0MB in 28676024 sectors of 512 bytes
    70 cylinder groups of 202.50MB, 12960 blocks, 25920 inodes each
    /dev/rsd9i: 7004.9MB in 14346044 sectors of 512 bytes
    35 cylinder groups of 202.50MB, 12960 blocks, 25920 inodes each
    /dev/rsd9e: 45504.4MB in 93193064 sectors of 512 bytes
    225 cylinder groups of 202.50MB, 12960 blocks, 25920 inodes each
    Available disks are: sd2 sd3 sd4 sd5 sd6 sd7.
    Which disk do you wish to initialize? (or 'done') [done] 
    /dev/sd8a (c0f72b0af49ab1e1.a) on /mnt type ffs (rw, asynchronous, local)
    /dev/sd9k (284bbf6dca734854.k) on /mnt/home type ffs (rw, asynchronous, local, nodev, nosuid)
    /dev/sd9d (284bbf6dca734854.d) on /mnt/tmp type ffs (rw, asynchronous, local, nodev, nosuid)
    /dev/sd9f (284bbf6dca734854.f) on /mnt/usr type ffs (rw, asynchronous, local, nodev)
    /dev/sd9g (284bbf6dca734854.g) on /mnt/usr/X11R6 type ffs (rw, asynchronous, local, nodev)
    /dev/sd9h (284bbf6dca734854.h) on /mnt/usr/local type ffs (rw, asynchronous, local, nodev)
    /dev/sd9j (284bbf6dca734854.j) on /mnt/usr/obj type ffs (rw, asynchronous, local, nodev, nosuid)
    /dev/sd9i (284bbf6dca734854.i) on /mnt/usr/src type ffs (rw, asynchronous, local, nodev, nosuid)
    /dev/sd9e (284bbf6dca734854.e) on /mnt/var type ffs (rw, asynchronous, local, nodev, nosuid)
    
    Let's install the sets!
    Location of sets? (cd0 disk http or 'done') [cd0] 
    
    
  19. 以降、インストールを最後まで続ける
    
    Location of sets? (cd0 disk http or 'done') [cd0] 
    Pathname to the sets? (or 'done') [6.7/sparc64] 
    
    (省略)
    
    Relinking to create unique kernel... done.
    
    CONGRATULATIONS! Your OpenBSD install has been successfully completed!
    
    When you login to your new system the first time, please read your mail
    using the 'mail' command.
    
    Exit to (S)hell, (H)alt or (R)eboot? [halt] 
    
    
  20. haltする
    
    Exit to (S)hell, (H)alt or (R)eboot? [halt] 
    syncing disks... done
    halted
    
    Program terminated
    {3} ok 
    
    
  21. RAID1ボリュームから起動できるように、OBPの環境変数boot-filesr0a:/bsdと設定する
    
    {3} ok setenv boot-file sr0a:/bsd
    boot-file =             sr0a:/bsd
    {3} ok 
    {3} ok printenv
    Variable Name           Value                          Default Value
    
    asr-policy              normal                         normal
    test-args                                              
    diag-passes             1                              1
    local-mac-address?      true                           true
    fcode-debug?            false                          false
    scsi-initiator-id       7                              7
    oem-logo                                               No default
    oem-logo?               false                          false
    oem-banner                                             No default
    oem-banner?             false                          false
    ansi-terminal?          true                           true
    screen-#columns         80                             80
    screen-#rows            34                             34
    ttyb-rts-dtr-off        false                          false
    ttyb-ignore-cd          true                           true
    ttya-rts-dtr-off        false                          false
    ttya-ignore-cd          true                           true
    ttyb-mode               9600,8,n,1,-                   9600,8,n,1,-
    ttya-mode               9600,8,n,1,-                   9600,8,n,1,-
    output-device           screen                         screen
    input-device            keyboard                       keyboard
    auto-boot-on-error?     true                           true
    error-reset-recovery    sync                           sync
    load-base               16384                          16384
    auto-boot?              false                          true
    network-boot-arguments                                 
    boot-command            boot                           boot
    diag-file                                              
    diag-device             net                            net
    boot-file               sr0a:/bsd                      
    boot-device             disk net                       disk net
    use-nvramrc?            false                          false
    nvramrc                                                
    security-mode           none                           No default
    security-password                                      No default
    security-#badlogins     0                              No default
    verbosity               normal                         normal
    diag-trigger            error-reset power-on-res ...   error-reset power-on-res ...
    service-mode?           false                          false
    diag-script             normal                         normal
    diag-level              max                            max
    diag-switch?            false                          false
    {3} ok 
    
    
  22. HDDからboot
    
    {3} ok probe-scsi-all
    This command may hang the system if a Stop-A or halt command
    has been executed.  Please type reset-all to reset the system 
    before executing this command. 
    Do you wish to continue? (y/n) y
    /pci@1e,600000/pci@0/pci@2/scsi@0
    
    MPT Version 1.05, Firmware Version 1.16.00.00
    
    Target 0 
    Unit 0   Disk     HP      DH072BAAKN      HPD3    143374738 Blocks, 73 GB
      SASAddress 500000e01e4ee7b2  PhyNum 0 
    Target 1 
    Unit 0   Disk     HP      DH072BAAKN      HPD3    143374738 Blocks, 73 GB
      SASAddress 500000e01ec3f482  PhyNum 1 
    Target 2 
    Unit 0   Disk     HP      DH072BAAKN      HPD3    143374738 Blocks, 73 GB
      SASAddress 500000e01eba0cd2  PhyNum 2 
    Target 3 
    Unit 0   Disk     HP      DH072BAAKN      HPD3    143374738 Blocks, 73 GB
      SASAddress 500000e01ec0b912  PhyNum 3 
    Target 4 
    Unit 0   Disk     HP      DH072BAAKN      HPD3    143374738 Blocks, 73 GB
      SASAddress 500000e01e49aef2  PhyNum 4 
    Target 5 
    Unit 0   Disk     HP      DH072BAAKN      HPD3    143374738 Blocks, 73 GB
      SASAddress 500000e01e47fb42  PhyNum 5 
    Target 6 
    Unit 0   Disk     HP      DH072BAAKN      HPD3    143374738 Blocks, 73 GB
      SASAddress 500000e01ebe9f92  PhyNum 6 
    Target 7 
    Unit 0   Disk     HP      DH072BAAKN      HPD3    143374738 Blocks, 73 GB
      SASAddress 500000e01e5b2732  PhyNum 7 
    
    {3} ok 
    {3} ok boot /pci@1e,600000/pci@0/pci@2/scsi@0/disk@0,0
    Boot device: /pci@1e,600000/pci@0/pci@2/scsi@0/disk@0,0  File and args: sr0a:/bsd
    OpenBSD IEEE 1275 Bootblock 2.0
    >> OpenBSD BOOT 1.17
    Can't read disk label.
    Can't open disk label package
    sr0*
    |/-\|/-\|/-\|/Booting sr0:a/bsd
    9773152@0x1000000-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\+8096@0x1952060|+190872@0x1c00000/-\|/-\|/-\|/+4003432@0x1c2e998- 
    \symbols @ 0xfea1c400 165+628416|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-+431480\|/-\|/-\|/-\|/-\|/-\|/-\| start=0x1000000
    [ using 1061088 bytes of bsd ELF symbol table ]
    console is /ebus@1f,464000/serial@0,c2c000
    Copyright (c) 1982, 1986, 1989, 1991, 1993
    	The Regents of the University of California.  All rights reserved.
    Copyright (c) 1995-2020 OpenBSD. All rights reserved.  https://www.OpenBSD.org
    
    OpenBSD 6.7 (GENERIC.MP) #310: Thu May  7 18:41:00 MDT 2020
        deraadt@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/GENERIC.MP
    real mem = 34359738368 (32768MB)
    avail mem = 33748271104 (32184MB)
    mpath0 at root
    scsibus0 at mpath0: 256 targets
    mainbus0 at root: Sun Fire V445
    cpu0 at mainbus0: SUNW,UltraSPARC-IIIi (rev 3.4) @ 1592 MHz
    cpu0: physical 32K instruction (32 b/l), 64K data (32 b/l), 1024K external (64 b/l)
    
    (省略)
    
    starting network daemons: sshd smtpd sndiod.
    running rc.firsttime
    Path to firmware: http://firmware.openbsd.org/firmware/6.7/
    No devices found which need firmware files to be downloaded.
    starting local daemons: cron.
    Fri Jun 26 12:03:19 JST 2020
    
    OpenBSD/sparc64 (xxxxxxxxxxxx) (console)
    
    login: 
    
    

無事起動しました。

いくつか確認しておきます。まず、swapがどうなっているのか確認します。


# cat /etc/fstab
b02a0f2722ce9307.b none swap sw
205b258df856e4e9.b none swap sw
c0f72b0af49ab1e1.a / ffs rw 1 1
284bbf6dca734854.k /home ffs rw,nodev,nosuid 1 2
284bbf6dca734854.d /tmp ffs rw,nodev,nosuid 1 2
284bbf6dca734854.f /usr ffs rw,nodev 1 2
284bbf6dca734854.g /usr/X11R6 ffs rw,nodev 1 2
284bbf6dca734854.h /usr/local ffs rw,wxallowed,nodev 1 2
284bbf6dca734854.j /usr/obj ffs rw,nodev,nosuid 1 2
284bbf6dca734854.i /usr/src ffs rw,nodev,nosuid 1 2
284bbf6dca734854.e /var ffs rw,nodev,nosuid 1 2
# swapctl
Device      512-blocks     Used    Avail Capacity  Priority
/dev/sd0b     67110732        0 67110732     0%    0
/dev/sd1b     67110732        0 67110732     0%    0
Total        134221464        0 134221464     0%
# 

期待通り、sd0bとsd1bが有効になっています。次に、パーティションの状況を確認します。


# mount
/dev/sd8a on / type ffs (local)
/dev/sd9k on /home type ffs (local, nodev, nosuid)
/dev/sd9d on /tmp type ffs (local, nodev, nosuid)
/dev/sd9f on /usr type ffs (local, nodev)
/dev/sd9g on /usr/X11R6 type ffs (local, nodev)
/dev/sd9h on /usr/local type ffs (local, nodev, wxallowed)
/dev/sd9j on /usr/obj type ffs (local, nodev, nosuid)
/dev/sd9i on /usr/src type ffs (local, nodev, nosuid)
/dev/sd9e on /var type ffs (local, nodev, nosuid)
# df -h
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/sd8a      982M   63.8M    869M     7%    /
/dev/sd9k      168G    4.0K    160G     0%    /home
/dev/sd9d     26.5G   10.0K   25.2G     0%    /tmp
/dev/sd9f     16.6G    765M   15.0G     5%    /usr
/dev/sd9g      9.9G    194M    9.2G     2%    /usr/X11R6
/dev/sd9h     49.7G    218K   47.2G     0%    /usr/local
/dev/sd9j     13.2G    2.0K   12.6G     0%    /usr/obj
/dev/sd9i      6.6G    2.0K    6.3G     0%    /usr/src
/dev/sd9e     43.0G    5.5M   40.9G     0%    /var
# 

こちらも期待通りです。次に、念のため、再度RAIDの状態を確認します。


# bioctl sd8
Volume      Status               Size Device  
softraid0 0 Online         1074024448 sd8     RAID1 
          0 Online         1074024448 0:0.0   noencl <sd0a>
          1 Online         1074024448 0:1.0   noencl <sd1a>
# bioctl sd9
Volume      Status               Size Device  
softraid0 1 Online       367031418880 sd9     RAID5 
          0 Online        73406322688 1:0.0   noencl <sd2a>
          1 Online        73406322688 1:1.0   noencl <sd3a>
          2 Online        73406322688 1:2.0   noencl <sd4a>
          3 Online        73406322688 1:3.0   noencl <sd5a>
          4 Online        73406322688 1:4.0   noencl <sd6a>
          5 Online        73406322688 1:5.0   noencl <sd7a>
# 

なお、RAIDボリュームを削除するには、下記のようにします。


# bioctl -d sd8
sd8 detached
# bioctl -d sd9
sd9 detached
# 
# bioctl sd8
bioctl: Can't locate sd8 device via /dev/bio
# bioctl sd9
bioctl: Can't locate sd9 device via /dev/bio
# 

ちなみに、ファイルシステムの情報を見てみます。


# dumpfs -m /
# newfs command for c0f72b0af49ab1e1.a
newfs -O 2 -b 16384 -e 2048 -f 2048 -g 16384 -h 64 -m 5 -o time -s 2088448 c0f72b0af49ab1e1.a 
# dumpfs -m /home
# newfs command for 284bbf6dca734854.k
newfs -O 2 -b 32768 -e 4096 -f 4096 -g 16384 -h 64 -m 5 -o time -s 358378016 284bbf6dca734854.k 
# dumpfs -m /tmp
# newfs command for 284bbf6dca734854.d
newfs -O 2 -b 16384 -e 2048 -f 2048 -g 16384 -h 64 -m 5 -o time -s 57352048 284bbf6dca734854.d 
# dumpfs -m /usr
# newfs command for 284bbf6dca734854.f
newfs -O 2 -b 16384 -e 2048 -f 2048 -g 16384 -h 64 -m 5 -o time -s 35857080 284bbf6dca734854.f 
# dumpfs -m /usr/X11R6
# newfs command for 284bbf6dca734854.g
newfs -O 2 -b 16384 -e 2048 -f 2048 -g 16384 -h 64 -m 5 -o time -s 21511032 284bbf6dca734854.g 
# dumpfs -m /usr/local
# newfs command for 284bbf6dca734854.h
newfs -O 2 -b 16384 -e 2048 -f 2048 -g 16384 -h 64 -m 5 -o time -s 107539108 284bbf6dca734854.h 
# dumpfs -m /usr/obj
# newfs command for 284bbf6dca734854.j
newfs -O 2 -b 16384 -e 2048 -f 2048 -g 16384 -h 64 -m 5 -o time -s 28676024 284bbf6dca734854.j 
# dumpfs -m /usr/src
# newfs command for 284bbf6dca734854.i
newfs -O 2 -b 16384 -e 2048 -f 2048 -g 16384 -h 64 -m 5 -o time -s 14346044 284bbf6dca734854.i 
# dumpfs -m /var
# newfs command for 284bbf6dca734854.e
newfs -O 2 -b 16384 -e 2048 -f 2048 -g 16384 -h 64 -m 5 -o time -s 93193064 284bbf6dca734854.e 
# 

ファイルシステムのタイプがFFS2(-O 2)になっているのが分かります。下記の形式で出力することもできますが、ファイルシステムのサイズに応じて出力結果が長くなります。


# dumpfs /
magic	19540119 (FFS2)	time	Fri Jun 26 12:06:04 2020
superblock location	65536	id	[ 5ef55426 34112b29 ]
ncg	6	size	522112	blocks	502535
bsize	16384	shift	14	mask	0xffffc000
fsize	2048	shift	11	mask	0xfffff800
frag	8	shift	3	fsbtodb	2
minfree	5%	optim	time	symlinklen 120
maxbsize 0	maxbpg	2048	maxcontig 1	contigsumsize 0
nbfree	58024	ndir	66	nifree	153639	nffree	46
bpg	12960	fpg	103680	ipg	25920
nindir	2048	inopb	64	maxfilesize	140806241583103
sbsize	2048	cgsize	16384	csaddr	3296	cssize	2048
sblkno	40	cblkno	48	iblkno	56	dblkno	3296
cgrotor	0	fmod	0	ronly	0	clean	0
avgfpdir 64	avgfilesize 16384
flags	none
fsmnt	/
volname		swuid	0

cs[].cs_(nbfree,ndir,nifree,nffree):
	(9585,48,25498,11) (12120,7,25883,7) (12548,6,24566,12) (11162,3,25854,10) 
	(12552,2,25918,6) (57,0,25920,0) 
blocks in last group 464


cg 0:
magic	90255	tell	18000	time	Fri Jun 26 12:03:59 2020
cgx	0	ndblk	103680	niblk	25920	initiblk 512
nbfree	9585	ndir	48	nifree	25498	nffree	11
rotor	8920	irotor	4	frotor	8920
frsum	1	0	0	1	0	1	0
sum of frsum: 11
inodes used:	0-421
blks free:	20731, 21282-21287, 21332-21335, 27000-103679

cg 1:
magic	90255	tell	ca98000	time	Fri Jun 26 10:55:28 2020

(省略)

frsum	0	0	0	0	0	0	0
sum of frsum: 0
inodes used:	
blks free:	0-39, 3296-3711
# 

最後に、RAID1を組んでいるもうひとつのHDDから起動できるか確認します。


{3} ok boot /pci@1e,600000/pci@0/pci@2/scsi@0/disk@1,0
Boot device: /pci@1e,600000/pci@0/pci@2/scsi@0/disk@1,0  File and args: sr0a:/bsd
OpenBSD IEEE 1275 Bootblock 2.0
>> OpenBSD BOOT 1.17
Can't read disk label.
Can't open disk label package
sr0*
|/-\|/-\|/-\|/Booting sr0:a/bsd
9765312@0x1000000-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\+7744@0x19501c0|+194104@0x1c00000/-\|/-\|/-\|+4000200@0x1c2f638/ 
-symbols @ 0xfea1c400 165+628416\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|+431480/-\|/-\|/-\|/-\|/-\|/-\|/-\ start=0x1000000
[ using 1061088 bytes of bsd ELF symbol table ]
console is /ebus@1f,464000/serial@0,c2c000
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2020 OpenBSD. All rights reserved.  https://www.OpenBSD.org

OpenBSD 6.7 (GENERIC.MP) #310: Thu May  7 18:41:00 MDT 2020
    deraadt@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/GENERIC.MP
real mem = 34359738368 (32768MB)
avail mem = 33748279296 (32184MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root: Sun Fire V445
cpu0 at mainbus0: SUNW,UltraSPARC-IIIi (rev 3.4) @ 1592 MHz
cpu0: physical 32K instruction (32 b/l), 64K data (32 b/l), 1024K external (64 b/l)

(省略)

starting network daemons: sshd smtpd sndiod.
starting local daemons: cron.
Fri Jun 26 18:06:18 JST 2020

OpenBSD/sparc64 (xxxxxxxxxxxx) (console)

login: 

もう片方のHDDからも起動できました。


OSの話題(新)のページ