Administrator's Guide

# ib_fabric_check [clear|scan|fullscan] [<output_dir>] [<link_speed>] [<link_width>]
clear – The clear option is used to reset the port counters.
fullscan – The fullscan option adds checking the link receive, link down, and port
receive port counter errors.
link_speed and link_width – The link_speed and link_width options allow you
to indicate the expected link speed and width, respectively. If a port is found not to have either
of these expected values it is indicated as such in either scan mode (scan or fullscan).
Files The ib_fabric_check utility will create the following log files in the output_dir, if
specified. The default location is a subdirectory in the current directory named yymmdd_hhmmss_ib.
Table 6 Files generated by ib_fabric_check
a list of all the port counter values per portct_ib.counters
a list of all the active switch and HCA ports detectedct_ib.fabric
a list of all the active port connections detectedct_ib.links
a log of the command outputct_ib.log
output of the ibnetdiscover p commandibnetdiscover.ports
In addition to the above files, the following ibdiagnet files are also retained. (See ibdiagnet
documentation for file details.)
ibdiagnet.db
ibdiagnet.fdbs
ibdiagnet_ibis.log
ibdiagnet.log
ibdiagnet.lst
ibdiagnet.mcfdbs
ibdiagnet.pkey
ibdiagnet.pm
ibdiagnet.sm
An example ct_ib.counters file is shown below.
[root@node1 ~]# cat 090415_103331_ib/ct_ib.counters
PORT COUNTERS INFORMATION - 090415_103331 - v1.00
Switch Description Port SymbolErr LinkErrRec LinkDown PortRcvErr XmitDiscrd
---------------------------------------- ---- ---------- ---------- ---------- ---------- ----------
MT47396 Infiniscale-III Mellanox Tech 1 0 0 0 0 0
MT47396 Infiniscale-III Mellanox Tech 2 - - - - -
MT47396 Infiniscale-III Mellanox Tech 3 - - - - -
MT47396 Infiniscale-III Mellanox Tech 4 0 0 0 0 0
MT47396 Infiniscale-III Mellanox Tech 5 - - - - -
MT47396 Infiniscale-III Mellanox Tech 6 - - - - -
MT47396 Infiniscale-III Mellanox Tech 7 - - - - -
MT47396 Infiniscale-III Mellanox Tech 8 - - - - -
MT47396 Infiniscale-III Mellanox Tech 9 - - - - -
MT47396 Infiniscale-III Mellanox Tech 10 0 0 0 0 0
MT47396 Infiniscale-III Mellanox Tech 11 0 0 0 0 0
MT47396 Infiniscale-III Mellanox Tech 12 0 0 0 0 0
MT47396 Infiniscale-III Mellanox Tech 13 0 0 0 0 0
MT47396 Infiniscale-III Mellanox Tech 14 0 0 0 0 0
MT47396 Infiniscale-III Mellanox Tech 15 - - - - -
MT47396 Infiniscale-III Mellanox Tech 16 0 0 0 0 0
MT47396 Infiniscale-III Mellanox Tech 17 - - - - -
MT47396 Infiniscale-III Mellanox Tech 18 - - - - -
MT47396 Infiniscale-III Mellanox Tech 19 - - - - -
MT47396 Infiniscale-III Mellanox Tech 20 - - - - -
MT47396 Infiniscale-III Mellanox Tech 21 - - - - -
MT47396 Infiniscale-III Mellanox Tech 22 - - - - -
MT47396 Infiniscale-III Mellanox Tech 23 - - - - -
MT47396 Infiniscale-III Mellanox Tech 24 - - - - -
HCA Description Port SymbolErr LinkErrRec LinkDown PortRcvErr XmitDiscrd
---------------------------------------- ---- ---------- ---------- ---------- ---------- ----------
node5 HCA-1 1 0 0 0 0 0
node1 HCA-1 1 0 0 0 0 0
ib_fabric_check 53