From Wiki-UX.info

How to configure Smart Array 6402 / 6404
Jump to: navigation, search

How to configure Smart Array 6402 / 6404

HP Smart Array 6402/128 Controller (A9890A) / HP Smart Array 6404/256 Controller (A9891A)

Configuration of Smart Array Raid cards requires the usage of two commands that come in the correponding driver software bundle, saconfig and sautil. How to use this commands is well documented in their corresponding manpages.

saconfig http://docs.hp.com/en/J6369-90051/ch03s02.html
sautil http://docs.hp.com/en/J6369-90051/ch04s04.html

Example

Configure a JBOD with 7 drives using an Smart Array 6404. The intended setup is 6 disks in Raid 1+0 with one spare drive. The selected strip size is 256 Kb.

1. Check the current Smart Array configuration:

# saconfig /dev/ciss6

******************** SmartArray RAID Controller /dev/ciss6 ********************

Auto-Fail Missing Disks at Boot     = disabled
Cache Configuration Status          = cache NOT configured
Cache Ratio                         = N/A

---------- PHYSICAL DRIVES ----------

Location       Ch   ID   Size           Status

External       1    0    300.0 GB       UNASSIGNED
External       1    1    300.0 GB       UNASSIGNED
External       1    2    300.0 GB       UNASSIGNED
External       1    3    300.0 GB       UNASSIGNED
External       1    4    300.0 GB       UNASSIGNED
External       1    5    300.0 GB       UNASSIGNED
External       1    8    300.0 GB       UNASSIGNED

2. Use the "saconfig" command to setup raid volume.

# saconfig /dev/ciss6 -R 1+0 -S 256 -p 1:0 -p 1:1 -p 1:2 -p 1:3 -p 1:4 -p 1:5 -s 1:8

-R: Raid mode
-S: Strip size
-p: Physical volumes that belong the logical volume
-s: Spare physical volume for the logical volume

3. Verify the current Smart Array configuration.

# saconfig /dev/ciss6

******************** SmartArray RAID Controller /dev/ciss6 ********************

Auto-Fail Missing Disks at Boot     = enabled
Cache Configuration Status          = cache enabled
Cache Ratio                         = 50% Read / 50% Write

---------- PHYSICAL DRIVES ----------

Location       Ch   ID   Size           Status

External       1    0    300.0 GB       OK
External       1    1    300.0 GB       OK
External       1    2    300.0 GB       OK
External       1    3    300.0 GB       OK
External       1    4    300.0 GB       OK
External       1    5    300.0 GB       OK
External       1    8    300.0 GB       SPARE

---------- LOGICAL DRIVE 0 ----------

Device File     = c6t0d0
RAID Level      = 1+0
Size            = 858293 MB
Stripe Size     = 256 KB
Status          = OK

Participating Physical Drive(s):

Ch   ID   

1    0    
1    1    
1    2    
1    3    
1    4    
1    5    

Participating Spare Drive(s):

Ch   ID   

1    8    

4. Generate a detailed configuration report using "sautil" command.

******************************************************************************
****                                                                      ****
****             S A U T I L   S u p p o r t   U t i l i t y              ****
****                                                                      ****
****             for the HP SmartArray RAID Controller Family             ****
****                                                                      ****
****                           version A.02.12                            ****
****                                                                      ****
****  (C) Copyright 2003-2007 Hewlett-Packard Development Company, L.P.   ****
******************************************************************************



---- DRIVER INFORMATION ------------------------------------------------------

  Driver State........................ READY

---- CONTROLLER INFORMATION --------------------------------------------------

  Controller Product Number........... A9891A
  Controller Product Name............. HP PCI-X SmartArray 6404 (Ch A1, A2)
  Hardware Path....................... 1/0/1/1/0/4/0
  Serial Number....................... P5782AA9STH0Z0
  Device File......................... /dev/ciss6
  Hardware Revision................... 'B'
  Boot Block Revision................. 5.76
  Firmware Revision (running)......... 2.74
  Firmware Revision (in ROM).......... 2.74
  Firmware Revision (inactive)........ 2.74
  # of Logical Drives................. 1
  # of Physical Disks Configured...... 7
  # of Physical Disks Detected........ 7
  Logical Drive Rebuild Priority...... 118 (high)
  Array Capacity Expansion Priority... 64  (medium)
  Auto-Fail Missing Disks at Boot..... enabled
  SCSI Transfer Detection Mode........ Auto Detect


---- ARRAY ACCELERATOR (CACHE) INFORMATION -----------------------------------

  Array Accelerator Board Present?.... yes
  Cache Configuration Status.......... cache enabled
  Cache Ratio......................... 50% Read / 50% Write
  Total Cache Size (MB)............... 128
    Read Cache........................ 064
    Write Cache....................... 064
    Transfer Buffer................... 000
  Battery Pack Count.................. 2
  Battery Status (pack #1)............ ok
  Battery Status (pack #2)............ ok


---- LOGICAL DRIVE SUMMARY ---------------------------------------------------

       #   RAID      Size        Status   

       0   1+0      858293 MB    OK        


---- SCSI DEVICE SUMMARY -----------------------------------------------------

  Location   Ch    ID    Type         Capacity   Status 

  external    1     0    DISK        300.0 GB    OK        
  external    1     1    DISK        300.0 GB    OK        
  external    1     2    DISK        300.0 GB    OK        
  external    1     3    DISK        300.0 GB    OK        
  external    1     4    DISK        300.0 GB    OK        
  external    1     5    DISK        300.0 GB    OK        
  external    1     7    PROCESSOR   
  external    1     8    DISK        300.0 GB    SPARE     


---- SCSI BUS SUMMARY --------------------------------------------------------

                  External    Internal  
  Ch  LVD_Mode    Connector   Connector 

   1     YES         YES          -          
   2     YES          -           -          


---- LOGICAL DRIVE 0 ---------------------------------------------------------

  Logical Drive Device File........... c6t0d0
  Fault Tolerance Mode................ RAID 1+0 (Disk Mirroring)
  Logical Drive Size.................. 858293 MB    
  Logical Drive Status................ OK        
  # of Participating Physical Disks... 6

  Participating Physical Disk(s)...... Ch:ID
                                        1: 0
                                        1: 1
                                        1: 2
                                        1: 3
                                        1: 4
                                        1: 5

  Participating Spare Disk(s)......... Ch:ID
                                        1: 8

  Stripe Size......................... 256 KB
  Logical Drive Cache Status.......... cache enabled
  Configuration Signature............. 0xA027B7E7
  Media Exchange Detected?............ no
  

---- SCSI DEVICE 1:0 [DISK] --------------------------------------------------

  Connector Location............................... external  
  Channel Number................................... 1
  SCSI ID.......................................... 0    
  Device Type...................................... DISK        
  Disk Capacity.................................... 300.0 GB    
  Device Status.................................... OK        
  Device Vendor ID................................. COMPAQ  
  Device Product ID................................ BD3008A4C6      
  Device Serial Number............................. 3KR365WH000097175QRV
  Device Firmware Version.......................... HPB4
  SCSI Transfer Rate (actual)...................... Ultra-320
  Reserved Area (cfg/status info).................. 557.1 KB (0.6 MB)
  Block Size (bytes/sector)........................ 512 bytes
  M&P Data Stamped?................................ yes
  Last Failure Reason.............................. none

  Physical Disk Flags:
    Disk present and operational................... yes
    Non-disk device detected....................... no
    Wide SCSI transfer enabled..................... yes
    Synchronous (Fast/Ultra) transfer enabled...... yes
    Narrow disk tray detected...................... no
    Wide transfer failed, reverted to narrow....... no
    Ultra SCSI transfer enabled.................... yes
    Ultra-2 SCSI transfer enabled.................. yes

    S.M.A.R.T. supported........................... yes
    S.M.A.R.T. errors (in factory M&P data)........ no
    S.M.A.R.T. enabled............................. yes
    S.M.A.R.T. errors (in powerup M&P data)........ no
    Attached to external channel................... yes
    Configured in a logical drive.................. yes
    Configured as a spare disk..................... no
    Disk write cache enabled at spin up............ no

    Running in DT clocking mode.................... yes
    Supports DT clocking mode only................. no
    Supports DT and ST clocking modes.............. yes
    Running in U320 mode........................... yes
    Packetized SCSI supported...................... yes
    Supports redundant controller operation........ yes
    Disk write cache enabled in current page....... no
    Disk write cache disabled in default page...... yes

    QAS capable (U320 only)........................ yes
    Currently running QAS (U320 only).............. yes

  

---- SCSI DEVICE 1:1 [DISK] --------------------------------------------------

  Connector Location............................... external  
  Channel Number................................... 1
  SCSI ID.......................................... 1    
  Device Type...................................... DISK        
  Disk Capacity.................................... 300.0 GB    
  Device Status.................................... OK        
  Device Vendor ID................................. COMPAQ  
  Device Product ID................................ BD3008A4C6      
  Device Serial Number............................. 3KR2ZJGW00009709RYBG
  Device Firmware Version.......................... HPB4
  SCSI Transfer Rate (actual)...................... Ultra-320
  Reserved Area (cfg/status info).................. 557.1 KB (0.6 MB)
  Block Size (bytes/sector)........................ 512 bytes
  M&P Data Stamped?................................ yes
  Last Failure Reason.............................. none

  Physical Disk Flags:
    Disk present and operational................... yes
    Non-disk device detected....................... no
    Wide SCSI transfer enabled..................... yes
    Synchronous (Fast/Ultra) transfer enabled...... yes
    Narrow disk tray detected...................... no
    Wide transfer failed, reverted to narrow....... no
    Ultra SCSI transfer enabled.................... yes
    Ultra-2 SCSI transfer enabled.................. yes

    S.M.A.R.T. supported........................... yes
    S.M.A.R.T. errors (in factory M&P data)........ no
    S.M.A.R.T. enabled............................. yes
    S.M.A.R.T. errors (in powerup M&P data)........ no
    Attached to external channel................... yes
    Configured in a logical drive.................. yes
    Configured as a spare disk..................... no
    Disk write cache enabled at spin up............ no

    Running in DT clocking mode.................... yes
    Supports DT clocking mode only................. no
    Supports DT and ST clocking modes.............. yes
    Running in U320 mode........................... yes
    Packetized SCSI supported...................... yes
    Supports redundant controller operation........ yes
    Disk write cache enabled in current page....... no
    Disk write cache disabled in default page...... yes

    QAS capable (U320 only)........................ yes
    Currently running QAS (U320 only).............. yes

  

---- SCSI DEVICE 1:2 [DISK] --------------------------------------------------

  Connector Location............................... external  
  Channel Number................................... 1
  SCSI ID.......................................... 2    
  Device Type...................................... DISK        
  Disk Capacity.................................... 300.0 GB    
  Device Status.................................... OK        
  Device Vendor ID................................. COMPAQ  
  Device Product ID................................ BD3008A4C6      
  Device Serial Number............................. 3KR2ZV4K00009712Q19B
  Device Firmware Version.......................... HPB4
  SCSI Transfer Rate (actual)...................... Ultra-320
  Reserved Area (cfg/status info).................. 557.1 KB (0.6 MB)
  Block Size (bytes/sector)........................ 512 bytes
  M&P Data Stamped?................................ yes
  Last Failure Reason.............................. none

  Physical Disk Flags:
    Disk present and operational................... yes
    Non-disk device detected....................... no
    Wide SCSI transfer enabled..................... yes
    Synchronous (Fast/Ultra) transfer enabled...... yes
    Narrow disk tray detected...................... no
    Wide transfer failed, reverted to narrow....... no
    Ultra SCSI transfer enabled.................... yes
    Ultra-2 SCSI transfer enabled.................. yes

    S.M.A.R.T. supported........................... yes
    S.M.A.R.T. errors (in factory M&P data)........ no
    S.M.A.R.T. enabled............................. yes
    S.M.A.R.T. errors (in powerup M&P data)........ no
    Attached to external channel................... yes
    Configured in a logical drive.................. yes
    Configured as a spare disk..................... no
    Disk write cache enabled at spin up............ no

    Running in DT clocking mode.................... yes
    Supports DT clocking mode only................. no
    Supports DT and ST clocking modes.............. yes
    Running in U320 mode........................... yes
    Packetized SCSI supported...................... yes
    Supports redundant controller operation........ yes
    Disk write cache enabled in current page....... no
    Disk write cache disabled in default page...... yes

    QAS capable (U320 only)........................ yes
    Currently running QAS (U320 only).............. yes

  

---- SCSI DEVICE 1:3 [DISK] --------------------------------------------------

  Connector Location............................... external  
  Channel Number................................... 1
  SCSI ID.......................................... 3    
  Device Type...................................... DISK        
  Disk Capacity.................................... 300.0 GB    
  Device Status.................................... OK        
  Device Vendor ID................................. COMPAQ  
  Device Product ID................................ BD3008A4C6      
  Device Serial Number............................. 3KR2YBAY00009711YYBZ
  Device Firmware Version.......................... HPB4
  SCSI Transfer Rate (actual)...................... Ultra-320
  Reserved Area (cfg/status info).................. 557.1 KB (0.6 MB)
  Block Size (bytes/sector)........................ 512 bytes
  M&P Data Stamped?................................ yes
  Last Failure Reason.............................. none

  Physical Disk Flags:
    Disk present and operational................... yes
    Non-disk device detected....................... no
    Wide SCSI transfer enabled..................... yes
    Synchronous (Fast/Ultra) transfer enabled...... yes
    Narrow disk tray detected...................... no
    Wide transfer failed, reverted to narrow....... no
    Ultra SCSI transfer enabled.................... yes
    Ultra-2 SCSI transfer enabled.................. yes

    S.M.A.R.T. supported........................... yes
    S.M.A.R.T. errors (in factory M&P data)........ no
    S.M.A.R.T. enabled............................. yes
    S.M.A.R.T. errors (in powerup M&P data)........ no
    Attached to external channel................... yes
    Configured in a logical drive.................. yes
    Configured as a spare disk..................... no
    Disk write cache enabled at spin up............ no

    Running in DT clocking mode.................... yes
    Supports DT clocking mode only................. no
    Supports DT and ST clocking modes.............. yes
    Running in U320 mode........................... yes
    Packetized SCSI supported...................... yes
    Supports redundant controller operation........ yes
    Disk write cache enabled in current page....... no
    Disk write cache disabled in default page...... yes

    QAS capable (U320 only)........................ yes
    Currently running QAS (U320 only).............. yes

  

---- SCSI DEVICE 1:4 [DISK] --------------------------------------------------

  Connector Location............................... external  
  Channel Number................................... 1
  SCSI ID.......................................... 4    
  Device Type...................................... DISK        
  Disk Capacity.................................... 300.0 GB    
  Device Status.................................... OK        
  Device Vendor ID................................. COMPAQ  
  Device Product ID................................ BD30089BBA      
  Device Serial Number............................. DA01P680595M0633
  Device Firmware Version.......................... HPB1
  SCSI Transfer Rate (actual)...................... Ultra-320
  Reserved Area (cfg/status info).................. 557.1 KB (0.6 MB)
  Block Size (bytes/sector)........................ 512 bytes
  M&P Data Stamped?................................ yes
  Last Failure Reason.............................. none

  Physical Disk Flags:
    Disk present and operational................... yes
    Non-disk device detected....................... no
    Wide SCSI transfer enabled..................... yes
    Synchronous (Fast/Ultra) transfer enabled...... yes
    Narrow disk tray detected...................... no
    Wide transfer failed, reverted to narrow....... no
    Ultra SCSI transfer enabled.................... yes
    Ultra-2 SCSI transfer enabled.................. yes

    S.M.A.R.T. supported........................... yes
    S.M.A.R.T. errors (in factory M&P data)........ no
    S.M.A.R.T. enabled............................. yes
    S.M.A.R.T. errors (in powerup M&P data)........ no
    Attached to external channel................... yes
    Configured in a logical drive.................. yes
    Configured as a spare disk..................... no
    Disk write cache enabled at spin up............ no

    Running in DT clocking mode.................... yes
    Supports DT clocking mode only................. no
    Supports DT and ST clocking modes.............. yes
    Running in U320 mode........................... yes
    Packetized SCSI supported...................... yes
    Supports redundant controller operation........ yes
    Disk write cache enabled in current page....... no
    Disk write cache disabled in default page...... yes

    QAS capable (U320 only)........................ yes
    Currently running QAS (U320 only).............. yes

  

---- SCSI DEVICE 1:5 [DISK] --------------------------------------------------

  Connector Location............................... external  
  Channel Number................................... 1
  SCSI ID.......................................... 5    
  Device Type...................................... DISK        
  Disk Capacity.................................... 300.0 GB    
  Device Status.................................... OK        
  Device Vendor ID................................. COMPAQ  
  Device Product ID................................ BD3008A4C6      
  Device Serial Number............................. 3KR2ZQPQ00009712PYZ6
  Device Firmware Version.......................... HPB4
  SCSI Transfer Rate (actual)...................... Ultra-320
  Reserved Area (cfg/status info).................. 557.1 KB (0.6 MB)
  Block Size (bytes/sector)........................ 512 bytes
  M&P Data Stamped?................................ yes
  Last Failure Reason.............................. none

  Physical Disk Flags:
    Disk present and operational................... yes
    Non-disk device detected....................... no
    Wide SCSI transfer enabled..................... yes
    Synchronous (Fast/Ultra) transfer enabled...... yes
    Narrow disk tray detected...................... no
    Wide transfer failed, reverted to narrow....... no
    Ultra SCSI transfer enabled.................... yes
    Ultra-2 SCSI transfer enabled.................. yes

    S.M.A.R.T. supported........................... yes
    S.M.A.R.T. errors (in factory M&P data)........ no
    S.M.A.R.T. enabled............................. yes
    S.M.A.R.T. errors (in powerup M&P data)........ no
    Attached to external channel................... yes
    Configured in a logical drive.................. yes
    Configured as a spare disk..................... no
    Disk write cache enabled at spin up............ no

    Running in DT clocking mode.................... yes
    Supports DT clocking mode only................. no
    Supports DT and ST clocking modes.............. yes
    Running in U320 mode........................... yes
    Packetized SCSI supported...................... yes
    Supports redundant controller operation........ yes
    Disk write cache enabled in current page....... no
    Disk write cache disabled in default page...... yes

    QAS capable (U320 only)........................ yes
    Currently running QAS (U320 only).............. yes

  

---- SCSI DEVICE 1:7 [PROCESSOR] ---------------------------------------------

  Connector Location............................... external  
  Channel Number................................... 1
  SCSI ID.......................................... 7    
  Device Type...................................... PROCESSOR   
  Device Vendor ID................................. COMPAQ  
  Device Product ID................................ PROLIANT 4L7E*DT
  SCSI Transfer Rate (maximum)..................... Ultra-320
  

---- SCSI DEVICE 1:8 [DISK] --------------------------------------------------

  Connector Location............................... external  
  Channel Number................................... 1
  SCSI ID.......................................... 8    
  Device Type...................................... DISK        
  Disk Capacity.................................... 300.0 GB    
  Device Status.................................... SPARE     
  Device Vendor ID................................. COMPAQ  
  Device Product ID................................ BD3008A4C6      
  Device Serial Number............................. 3KR3524L00009717VAXP
  Device Firmware Version.......................... HPB4
  SCSI Transfer Rate (actual)...................... Ultra-320
  Reserved Area (cfg/status info).................. 557.1 KB (0.6 MB)
  Block Size (bytes/sector)........................ 512 bytes
  M&P Data Stamped?................................ yes
  Last Failure Reason.............................. none

  Physical Disk Flags:
    Disk present and operational................... yes
    Non-disk device detected....................... no
    Wide SCSI transfer enabled..................... yes
    Synchronous (Fast/Ultra) transfer enabled...... yes
    Narrow disk tray detected...................... no
    Wide transfer failed, reverted to narrow....... no
    Ultra SCSI transfer enabled.................... yes
    Ultra-2 SCSI transfer enabled.................. yes

    S.M.A.R.T. supported........................... yes
    S.M.A.R.T. errors (in factory M&P data)........ no
    S.M.A.R.T. enabled............................. yes
    S.M.A.R.T. errors (in powerup M&P data)........ no
    Attached to external channel................... yes
    Configured in a logical drive.................. yes
    Configured as a spare disk..................... yes
    Disk write cache enabled at spin up............ no

    Running in DT clocking mode.................... yes
    Supports DT clocking mode only................. no
    Supports DT and ST clocking modes.............. yes
    Running in U320 mode........................... yes
    Packetized SCSI supported...................... yes
    Supports redundant controller operation........ yes
    Disk write cache enabled in current page....... no
    Disk write cache disabled in default page...... yes

    QAS capable (U320 only)........................ yes
    Currently running QAS (U320 only).............. yes



---- DIAGRAM OF EXTERNAL CONNECTORS ON BRACKET -------------------------------

           ========---========
          |                   |
          |       U320    <--- LOOK FOR THIS LOGO
          |        / \        |
          |         <-        |
          |        \ /        |
          |                   |
          |     *       *     |
          |   * *       * *   |
  (Ch A1)---> * *       * * <--- (Ch A2)
          |   * *       * *   |
          |     *       *     |
          |                   |
          |     *       *     |
          |   * *       * *   |
          |   * *       * *   |
          |   * *       * *   |
          |     *       *     |
          |                   |
          |                   |
           ~   ~   ~   ~   ~  


******************************************************************************
****                         End of SAUTIL Output                         ****
******************************************************************************

5. LVM volume group configuration follown basic HP-UX layout procedure.

  1. ioscan -fnC disk
  2. ioscan -m dsf
  3. diskinfo /dev/rdisk/disk7
  4. mkdir /dev/<vgname>
  5. mknod /dev/<vgname>/group c 64 0x##0000
  6. pvcreate /dev/rdisk/disk# or pvcreate /dev/rdsk/c#t#d#
  7. vgcreate -s <PE size> -e 65535 /dev/<vgname> <physical volume path>
  8. vgdisplay /dev/<vgname>

Reference

Download drivers and software:

  • Tolentino, Edgar. Research in Motion. WFM Case ID: 3600533943. Special thanks for the permissions to use the information on this case on the elaboration of the example and provied the required outputs.
This page was last modified on 18 March 2010, at 12:00. This page has been accessed 6,426 times.