SUMMARY: Boot Disk?
- From: "Cohen, Laurence" <Laurence_Cohen@xxxxxxx>
- Date: Wed, 25 Jan 2006 11:35:15 -0500
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@xxxxxxxxxx] for pointing this
out!
> _____________________________________________
> From: Cohen, Laurence
> Sent: Wednesday, January 25, 2006 10:25 AM
> To: sunmanagers@xxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
- Prev by Date: System Accounting and runacct
- Next by Date: Forget admin password brocade switch
- Previous by thread: System Accounting and runacct
- Next by thread: Forget admin password brocade switch
- Index(es):