mercredi 4 juillet 2012

View HBA in HP-ux

To  find out how  many HBA you have in your Hp-ux system run :

# ioscan -fknC fc 

Class     I  H/W Path   Driver S/W State   H/W Type     Description
=================================================================
fc        0  0/0/4/1/0  fcd   CLAIMED     INTERFACE    HP AB378-60101      4Gb Single Port PCI/PCI-X Fibre Channel Adapter (FC Port 1)                        /dev/fcd0
fc        1  0/0/6/1/0  fcd   CLAIMED     INTERFACE    HP AB378-60101      4Gb Single Port PCI/PCI-X Fibre Channel Adapter (FC Port 1)                        /dev/fcd1
fc        2  1/0/4/1/0  fcd   CLAIMED     INTERFACE    HP AB378-60101      4Gb Single Port PCI/PCI-X Fibre Channel Adapter (FC Port 1)                        /dev/fcd2
fc        3  1/0/6/1/0  fcd   CLAIMED     INTERFACE    HP AB378-60101      4Gb Single Port PCI/PCI-X Fibre Channel Adapter (FC Port 1)                    /dev/fcd3



HBA cards will be shown  like /dev/fcd0 , /dev/fcd1 ...

To get more inofrmation about each card, just run : 

# fcmsutil  /dev/fcd0 

     Vendor ID is = 0x1077
      Device ID is = 0x2422
      PCI Sub-system Vendor ID is = 0x103C
      PCI Sub-system ID is = 0x12D6
      PCI Mode = PCI-X 266 MHz
       ISP Code version = 4.4.4
      ISP Chip version = 3
       Topology = PTTOPT_FABRIC
       Link Speed = 4Gb
       Local N_Port_id is = 0x78d800
       Previous N_Port_id is = 0x790400
       N_Port Node World Wide Name = 0x500143800422f967
       N_Port Port World Wide Name = 0x500143800422f966
       Switch Port World Wide Name = 0x209f000533041e02
       Switch Node World Wide Name = 0x1000000533041e02
       N_Port Symbolic Port Name = hostdev1_fcd0
       N_Port Symbolic Node Name = host1_HP-UX_B.11.31
       Driver state = ONLINE
       Hardware Path is = 0/0/4/1/0
       Maximum Frame Size = 2048
       Driver-Firmware Dump Available = NO
       Driver-Firmware Dump Timestamp = N/A
       Driver Version = @(#) fcd B.11.31.0903 Dec 14 2008




Aucun commentaire:

Enregistrer un commentaire