Configure SAS Adapter for RAID - BL8x0

From jasonhoss.com
Jump to: navigation, search

Changing the mode of the disk controller in a BL8x0 Itanium server requires the saupdate.efi binary to properly set the mode from HBA to RAID. To change the mode of the disk controller, follow these steps:

  • Download the saupdate.efi file for your drive controller and save to bootable media (USB, etc)
  • Reboot server and bring up the EFI shell
  • Once the system is at the EFI shell, look through the devices detected by the system and change to that volume so that the saupdate.efi binary is accessible. For example, if the removable USB drive is detected at fs1, type
Shell> fs1:

fs1:\>
  • Do an ls or dir on the directory to locate the saupdate binary.
  • Execute saupdate get_mode all to determine the configured mode on all installed HBAs
fs1:\> saupdate get_mode all 

The controller at 0:2:0:0 is in HBA mode

The controller at 0:42:0:0 is in HBA mode
  • Configure RAID mode for desired HBA using saupdate set_mode
fs1:\> saupdate set_mode 0:2:0:0 RAID

WARNING:Changing controller mode could result in DATA LOSS!!!
Key in 'YES' to continue or 'NO' to quit: yes

Changing mode of the controller at 0:2:0:0 to RAID
Resetting and reinitializing controller, it may take several minutes
Controller mode change successful
  • Execute connect -r to re-bind the driver to the device.
fs1:\> connect -r
  • Update map of devices using map -u
fs1:\> map -u
  • Use the drivers command to locate the controller card's driver number. For example
fs1:\> drivers
T D
D Y C I
R P F A
V  VERSION E G G #D #C DRIVER NAME IMAGE NAME
=  ======= = = = == == ======================
11 0000010 B - -  7 13 PCI Bus Driver PciBus
.
.
.
9B 00000318 D X X 1 - Smart Array SAS Driver v3.18 MemoryMapped
  • Now that the Driver ID is known, using drvcfg, match it to the CTRL ID.
fs1:\> drvcfg
Drv[A7] Ctrl[17F] Lang[en-US;eng]
Drv[A8] Ctrl[180] Lang[en-US;eng]
Drv[9B] Ctrl[CD] Lang[eng] <======
  • From the example below, we see the Driver ID 9B matches with CTRL ID CD. Now use drvcfg to enter the configuration utility for the device.
fs1:\> drvcfg 9b cd -s
Option Rom Configuration for Arrays, version 3.18
Copyright 2009 Hewlett-Packard Development Company, L.P.
Controller: HP Smart Array P410i
 

+------------Main Menu---------------+
| Create Logical Drive |
| View Logical Drive |
| Delete Logical Drive |
+------------------------------------+


<Enter> to create a new logical drive
<UP/DOWN ARROW> to select main menu option; <ESC> to exit