![]() | Sun System Handbook - ISO 4.1 October 2012 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||
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
PreviouslyPublishedAs 201868
Applies to:Sun Enterprise 4500 ServerSun Enterprise 5000 Server Sun Enterprise 5500 Server Sun Enterprise 6000 Server Sun Enterprise 6500 Server All Platforms GoalThis document describes the procedure for using the show-disks command tocreate a devalias for an Ultra[TM] Enterprise server disk-board boot-drive. SolutionAfter 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 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 5.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. Attachments This solution has no attachment |
||||||||||||
|