0 Replies Latest reply: Jul 30, 2013 11:21 PM by 1029516 RSS

    mirrored boot device with scsi_vhci

    1029516

      hello, I am new to Solaris admin, and I am setting up a mirrored boot devices in a new T5-4.

      format output:

             0. c0t5000CCA02229F398d0 <HITACHI-H109030SESUN300G-A31A cyl 46873 alt 2 hd 20 sec 625>  solaris

                /scsi_vhci/disk@g5000cca02229f398

                /dev/chassis/SPARC_T5-4.AK00104096//SYS/SASBP0/HDD0/disk

             1. c0t5000CCA02229F328d0 <HITACHI-H109030SESUN300G-A31A cyl 46873 alt 2 hd 20 sec 625>  solaris

                /scsi_vhci/disk@g5000cca02229f328

                /dev/chassis/SPARC_T5-4.AK00104096//SYS/SASBP1/HDD4/disk

       

      after mirror those two disks I have this zpool status output:

      root@yorkt5_a:/var/adm# zpool status

        pool: rpool

      state: ONLINE

        scan: resilvered 71.2G in 0h8m with 0 errors on Tue Jul 30 13:47:21 2013

      config:

       

       

              NAME                         STATE     READ WRITE CKSUM

              rpool                        ONLINE       0     0     0

                mirror-0                   ONLINE       0     0     0

                  c0t5000CCA02229F398d0s0  ONLINE       0     0     0

                  c0t5000CCA02229F328d0s0  ONLINE       0     0     0

       

       

      just when I tried to find out how to set up the boot-device to include the second device through eeprom like this

      bash-2.03# eeprom "nvramrc=devalias disk0 /scsi_vhci/disk@g5000cca02229f398 devalias disk1 /scsi_vhci/disk@g5000cca02229f328"

      bash-2.03#

      bash-2.03# eeprom | grep alias

      nvramrc=devalias disk0 /pci@1f,700000/scsi@2/disk@0,0 devalias disk1 /pci@1f,700000/scsi@2/disk@1,0

      bash-2.03#

      bash-2.03# eeprom | grep boot-device

      boot-device=disk net

      bash-2.03#

      bash-2.03# eeprom "nvramrc=devunalias disk"

      bash-2.03# eeprom | grep boot-device

      boot-device=disk net

      bash-2.03# eeprom boot-device="disk0 disk1"

      bash-2.03# eeprom | grep boot-device

      boot-device=disk0 disk1

       

      I want to test if I can boot from disk1, so I tried to switch the boot-devices from "disk0 disk1" to "disk1 and disk0", that's when I saw that after a reboot, "eeprom |grep alias" no longer has my devalias values I setup.

       

      what did I miss? 

       

      thank you very much!