Friday, May 8, 2009

Solaris which disk we are booting from?

root # prtpicl -v | grep disk
:disk-write-fix
disk-label (disk-label, 3a00000033)
:devfs-path /packages/disk-label
:binding-name disk-label
:_class disk-label
:name disk-label
:bootpath /pci@1c,600000/scsi@2/disk@1,0:a <----- disk1
:boot-device disk0:a
:diag-device disk0:a
:disk /pci@1c,600000/scsi@2/disk@0,0
:disk0 /pci@1c,600000/scsi@2/disk@0,0
:disk1 /pci@1c,600000/scsi@2/disk@1,0
:disk2 /pci@1c,600000/scsi@2/disk@2,0
:disk3 /pci@1c,600000/scsi@2/disk@3,0
:SlotType disk-slot
disk (fru, 3a0000b366)
:name disk
:SlotType disk-slot
disk (fru, 3a000006df)
:name disk
:SlotType disk-slot
:SlotType disk-slot
root #