lshba

The lshba command displays a list of storage image host adapters and status information for each host adapter in the list.

Read syntax diagramSkip visual syntax diagram
>>-lshba--+-----+--+----------------------+--------------------->
          +- -s-+  '- -encl--enclosure_ID-'   
          '- -l-'                             

>--+----------------------+--+-storage_image_ID--+-------+-+---><
   '- -state--+-online--+-'  |                   '-. . .-' |   
              +-offline-+    '-" - "-----------------------'   
              '-failed--'                                      

Parameters

-s
(Optional) Displays host adapter IDs. You cannot use the -l and the -s parameters together.
-l
(Optional) Displays the default output plus the host adapter feature code and interface IDs. You cannot use the -l and the -s parameters together.
-encl enclosure_ID
(Optional) Displays host adapters that are associated with a common processor complex or I/O enclosure ID.
-state online | offline | failed
(Optional) Displays host adapters that are in a specified state.
storage_image_ID . . . | -
(Optional) Displays host adapter information for the specified storage image IDs. A storage image ID includes manufacturer, model, and serial number. You must separate multiple IDs with spaces.
Note: ID ranges cannot be specified.
If you specify the dash (-), this parameter information is automatically supplied.

Example

Invoking the lshba command
dscli>lshba -l IBM.2107-75FA120 
The resulting output
Sun Aug 11 02:23:49 PST 2004 IBM DS CLI Version: 5.0.0.0 DS: IBM.2107-75FA120
ID State Loc

IBM.2107-75FA120
/R1-11-P1-C2

Online

U2107-75FA120
-11/P1-C2

IBM.2107-75FA120
/R1-11-P1-C3

Online

U2107-75FA120
-11/P1-C3

IBM.2107-75FA120
/R1-12-P1-C2

Online

U2107-75FA120
-/R1-12-P1-C2

IBM.2107-75FA120
/R1-12-P1-C3

Online

U2107-75FA120
/R1-12-P1-C3

FC Interfaces
1234 0x0121,0x0121,0x0123,0x0124
1234 0x0131,0x0131,0x0133,0x0134
1234 0x0221,0x0221,0x0223,0x0224
1234 0x0231,0x0231,0x0233,0x0234

Report field definitions

You can use the following information to help you understand the output that is generated from this command:

ID
Specifies the unique identifier of the host adapter.
State
Specifies the current availability state of the specified host adapter.
Loc
Specifies the I/O enclosure and the host adapter location.

The I/O enclosure location format is Uttt.mmm.ppsssss.

The host adapter location format is Pn-Cn where Pn indicates the Planner number (1) and Cn indicates the card number (1 - 6).

FC
Specifies the feature code that is used to order the specified host adapter.
Interfaces
Specifies the four interface IDs that are associated with the I/O ports on the host adapter.
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2004, 2007. All Rights Reserved.