From: Cohen, Laurence (Laurence_Cohen@sra.com)
Date: Wed Jan 25 2006 - 11:35:15 EST
The easiest way to do it with the prtpicl command.
prtpicl -v |grep disk
:disk-write-fix
disk-label (disk-label, 3d00000032)
:devfs-path /packages/disk-label
:binding-name disk-label
:_class disk-label
:name disk-label
:bootpath /pci@1c,600000/scsi@2/disk@0,0:a
:boot-device disk:a disk1:a
:diag-device disk0:f
: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, 3d000006fe)
:name disk
:SlotType disk-slot
disk (fru, 3d00000701)
:name disk
:SlotType disk-slot
:SlotType disk-slot
Thanks to Pascal Grostabussiat [pascal@azoria.com] for pointing this
out!
> _____________________________________________
> From: Cohen, Laurence
> Sent: Wednesday, January 25, 2006 10:25 AM
> To: sunmanagers@sunmanagers.org
> Subject: Boot Disk?
>
> Is there an easy way to see which disk I am booting from without
> having to take the system down to the OK prompt? If I type, eeprom
> |grep boot-device at the command line, I get the following:
>
> boot-device=disk0:a disk:a
>
> So I know my first boot device is disk0, but how do I tell without
> going to the OK prompt what actual device name disk0 is pointing to?
>
> Thanks!
>
> Laurence H. Cohen
> ISM Unix System Administrator
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:38:43 EDT