#ib_fabric_check [clearscanfullscan] [<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
ct_ib.counters | a list of all the port counter values per port |
ct_ib.fabric | a list of all the active switch and HCA ports detected |
ct_ib.links | a list of all the active port connections detected |
ct_ib.log | a log of the command output |
ibnetdiscover.ports | output of the ibnetdiscover |
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 | 1 | 0 | 0 | 0 | 0 | 0 |
MT47396 | 2 | - | - | - | - | - |
MT47396 | 3 | - | - | - | - | - |
MT47396 | 4 | 0 | 0 | 0 | 0 | 0 |
MT47396 | 5 | - | - | - | - | - |
MT47396 | 6 | - | - | - | - | - |
MT47396 | 7 | - | - | - | - | - |
MT47396 | 8 | - | - | - | - | - |
MT47396 | 9 | - | - | - | - | - |
MT47396 | 10 | 0 | 0 | 0 | 0 | 0 |
MT47396 | 11 | 0 | 0 | 0 | 0 | 0 |
MT47396 | 12 | 0 | 0 | 0 | 0 | 0 |
MT47396 | 13 | 0 | 0 | 0 | 0 | 0 |
MT47396 | 14 | 0 | 0 | 0 | 0 | 0 |
MT47396 | 15 | - | - | - | - | - |
MT47396 | 16 | 0 | 0 | 0 | 0 | 0 |
MT47396 | 17 | - | - | - | - | - |
MT47396 | 18 | - | - | - | - | - |
MT47396 | 19 | - | - | - | - | - |
MT47396 | 20 | - | - | - | - | - |
MT47396 | 21 | - | - | - | - | - |
MT47396 | 22 | - | - | - | - | - |
MT47396 | 23 | - | - | - | - | - |
MT47396 | 24 | - | - | - | - | - |
HCA Description | Port | SymbolErr | LinkErrRec | LinkDown | PortRcvErr | XmitDiscrd |
node5 | 1 | 0 | 0 | 0 | 0 | 0 |
node1 | 1 | 0 | 0 | 0 | 0 | 0 |
ib_fabric_check 53