root@test # df -h /
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d10 39G 4.1G 35G 11% /
2. Findout the disk inclueded in d10 (root and root mirror)
root@test # metastat d10
d10: Mirror
Submirror 0: d11
State: Okay
Submirror 1: d12
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 83890944 blocks (40 GB)
d11: Submirror of d10
State: Okay
Size: 83890944 blocks (40 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c0t0d0s0 0 No Okay Yes
d12: Submirror of d10
State: Okay
Size: 83890944 blocks (40 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t0d0s0 0 No Okay Yes
Device Relocation Information:
Device Reloc Device ID
c0t0d0 Yes id1,sd@n5000c5001780b3bb
c1t0d0 Yes id1,sd@n5000c50017807697
3. Find the H/W path to two of this disks
root@test # ls -ltr /dev/dsk/c0t0d0s0 /dev/dsk/c1t0d0s0
lrwxrwxrwx 1 root root 60 Feb 15 15:51 /dev/dsk/c0t0d0s0 -> ../../devices/pci@0,600000/pci@0/pci@8/pci@0/scsi@1/sd@0,0:a
lrwxrwxrwx 1 root root 61 Feb 15 15:51 /dev/dsk/c1t0d0s0 -> ../../devices/pci@10,600000/pci@0/pci@8/pci@0/scsi@1/sd@0,0:a
4. Editing NVRAM parameters using eeprom command. Replace the sd with disk in about output
root@test # eeprom "nvramrc=devalias rootdisk /pci@0,600000/pci@0/pci@8/pci@0/scsi@1/disk@0,0 rootmirror /pci@10,600000/pci@0/pci@8/pci@0/scsi@1/disk@0,0"
5. Setting the boot sequence from the newly defined aliases (rootdisk and rootmirror)
root@test # eeprom boot-device="rootdisk rootmirror net"
6. Verifying changes.
root@test # eeprom |grep rootmirror
boot-device=rootdisk rootmirror net
nvramrc=devalias rootdisk /pci@0,600000/pci@0/pci@8/pci@0/scsi@1/disk@0,0 rootmirror /pci@10,600000/pci@0/pci@8/pci@0/scsi@1/disk@0,0