User Tools

Site Tools


hba

HBA

Emulex: Way to reset the correct HBA after Changes with IBM Tapes were made in the SAN

Create a list of all manageable hbas:

server:/ # hbacmd listhbas
Manageable HBA List
Port WWN       : 10:00:00:00:c9:97:78:e8 
Node WWN       : 20:00:00:00:c9:97:78:e8
Fabric Name    : 10:00:00:05:1e:a6:74:ce
Flags          : 8000fe0d
Host Name      : server
Mfg            : Emulex Corporation
Serial No.     : BT95071947
Port Number    : 0
Mode           : Initiator
PCI Bus Number : 2
PCI Function   : 0
Port Type      : FC
Model          : LPe11002

Which devices are connected to the HBA:

 server:/ # hbacmd targetmapping 10:00:00:00:c9:97:78:e8

Reset the hba:

 server:/ # hbacmd reset 10:00:00:00:c9:97:78:e8

Rescan

  systool -c fc_host -v host3
  echo "- - -" > /sys/class/scsi_host/host0/scan
hba.txt · Last modified: 2021/04/24 07:40 by 127.0.0.1