Sun Microsystems, Inc.  Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-1001379.1
Update Date:2010-05-28
Keywords:

Solution Type  Technical Instruction Sure

Solution  1001379.1 :   Ultra[TM] Enterprise x000 servers: Using show-disks command to create devalias for disk-board boot-drive  


Related Items
  • Sun Enterprise 4500 Server
  •  
  • Sun Enterprise 3000 Server
  •  
  • Sun Enterprise 5500 Server
  •  
  • Sun Enterprise 5000 Server
  •  
  • Sun Enterprise 6000 Server
  •  
  • Sun Enterprise 4000 Server
  •  
  • Sun Enterprise 3500 Server
  •  
  • Sun Enterprise 6500 Server
  •  
Related Categories
  • GCS>Sun Microsystems>Servers>Midrange Servers
  •  

PreviouslyPublishedAs
201868


Description
This document describes the procedure for using the show-disks command to
create a devalias for an Ultra[TM] Enterprise server disk-board boot-drive.


Steps to Follow
After installing Solaris[TM] Operating System(OS) on an Ultra Enterprise[TM]
server disk-board in card cage slot #5, you may discover that Solaris OS won't
boot because the boot device is not defined as the boot-device in the Open Boot
PROM(OBP).
The alias "diskbrd" is defined as /sbus@3,0/SUNW,fas@3,8800000/sd@a,0
for disk boards installed in card cage slot 3. This does not work if
the disk board is installed in card cage slot 5 on your server.
To define a different boot device:
   1) Run the probe-scsi command, to view drives on the disk board.
2) Use the show-disks command to view your SCSI controllers.
3) Use the nvalias command to create a device alias.
4) Use setenv to set the boot-device to your device alias.

At the OBP prompt, run probe-scsi-all to view all SCSI devices:

 {0} ok probe-scsi-all
/sbus@7,0/SUNW,fas@3,8800000
Target c
Unit 0   Disk     SEAGATE ST32550W SUN2.1G041800000000
Copyright (c) 1996 Seagate
All rights reserved ASA2
Target d
Unit 0   Disk     SEAGATE ST32550W SUN2.1G041800000000
Copyright (c) 1996 Seagate
All rights reserved ASA2
 /sbus@3,0/SUNW,fas@3,8800000
Target 5
Unit 0   Removable Tape     EXABYTE EXB-8505SMBANSH20793            
 Target 6
Unit 0   Removable Read Only device     TOSHIBA
XM-4101TASUNSLCD342412/08/94

The boot drive in this example will be the Seagate ST32550W 2.1G drive at
Target c.

Run the show-disks command to view the SCSI disk selection list:

 {0} ok show-disks
a) /sbus@7,0/SUNW,fas@3,8800000/sd
b) /sbus@3,0/SUNW,fas@3,8800000/sd
q) NO SELECTION
Enter Selection, q to quit: a
/sbus@7,0/SUNW,fas@3,8800000/sd has been selected.
Type ^Y ( Control-Y ) to insert it in the command line.
e.g. ok nvalias mydev ^Y
for creating devalias mydev for
/sbus@7,0/SUNW,fas@3,8800000/sd
 {0} ok nvalias mydisk /sbus@7,0/SUNW,fas@3,8800000/sd@c,0
                ^      ^
                |       (pressing CNTRL-Y here will insert this line
                |        up to /sd.  You must add "@target,0"  where
                |       "target" is the SCSI target address. )
    	      	|
 This is the alias name referenced for the boot-device.
 This example sets the alias name "mydisk" to SCSI target 12 on the
1st disk in the drive board installed in card cage slot 7.
 Note:   "sd@c,0" references the SCSI disk at Target 12
	  ( The hexadecimal "c" is the same as decimal "12".)
           In this example, Solaris OS will use the symbolic device name
c2t12d0, where "t12" is the target address on controller 2.

To set the boot device, the boot-device NVRAM parameter must be changed:

 ok setenv boot-device mydisk
ok reset

The machine will reset itself, and should automatically boot from the
device alias 'mydisk'.

Run the devalias command to list your device aliases:

 {0} ok devalias
mydisk                   /sbus@7,0/SUNW,fas@3,8800000/sd@c,0
screen                   /sbus@7,0/cgsix@0,0
disk                     /sbus@3,0/SUNW,fas@3,8800000/sd@0,0
diskbrd                  /sbus@3,0/SUNW,fas@3,8800000/sd@a,0
diskisp                  /sbus@3,0/QLGC,isp@0,10000/sd@0,0
net                      /sbus@3,0/SUNW,hme@3,8c00000
cdrom                    /sbus@3,0/SUNW,fas@3,8800000/sd@6,0:f
tape                     /sbus@3,0/SUNW,fas@3,8800000/st@4,0
scsi                     /sbus@3,0/SUNW,fas@3,8800000
disk0                    /sbus@3,0/SUNW,fas@3,8800000/sd@0,0
disk1                    /sbus@3,0/SUNW,fas@3,8800000/sd@1,0
disk2                    /sbus@3,0/SUNW,fas@3,8800000/sd@2,0
disk3                    /sbus@3,0/SUNW,fas@3,8800000/sd@3,0
disk4                    /sbus@3,0/SUNW,fas@3,8800000/sd@4,0
disk5                    /sbus@3,0/SUNW,fas@3,8800000/sd@5,0
tape0                    /sbus@3,0/SUNW,fas@3,8800000/st@4,0
tape1                    /sbus@3,0/SUNW,fas@3,8800000/st@5,0
ttya                     /central/fhc/zs@0,902000:a
ttyb                     /central/fhc/zs@0,902000:b
keyboard                 /central/fhc/zs@0,904000
keyboard!                /central/fhc/zs@0,904000:forcemode
name                     aliases

Note:

After you boot Solaris OS, the two disk drives are recognized as c2t12d0 and
c2t13d0 where "t12" and "t13" are scsi target addresses on controller 2.
Under format, c2t12d0 will be mapped to sbus@7,0/SUNW,fas@3,8800000/sd@c,0.



Product
Sun Enterprise 6000 Server
Sun Enterprise 5000 Server
Sun Enterprise 4000 Server
Sun Enterprise 3000 Server
Sun Enterprise 6500 Server
Sun Enterprise 5500 Server
Sun Enterprise 4500 Server
Sun Enterprise 3500 Server

nvalias, show-disks, boot prom, OBP, board, cage
Previously Published As
14046

Change History
Date: 2005-02-08
User Name: 18392
Action: Approved
Comment: Added product names, trademarking, expanded abbreviations, did some formatting,
added STM.
Version: 3

Attachments
This solution has no attachment
  Copyright © 2011 Sun Microsystems, Inc.  All rights reserved.
 Feedback