Q-Logic 2400 Video Gaming Accessories User Manual


 
5–Fibre Channel Noninteractive Commands
-kr (Run Read/Write Buffer Test)
SN0054667-00 C 5-19
To do a read/write buffer test using the current parameters, issue the following
command:
# qaucli -pr fc -kr (<hba instance> | <hba wwpn>)
To exclude a device or devices on the selected adapter port, issue the following
command:
# qaucli -pr fc -kr (<hba instance>|<hba wwpn>) [(-EX | -EXCLUDE)
<target wwpn>] [(<param name>|<param alias>) <param value>]
The following examples do 500 read/write buffer tests with a test increment of 10,
a data pattern of FFh, and a data size of 8 bytes. The test stops if an error occurs.
# qaucli -pr fc -kr <hba instance> DP FF DS 8 TC 500 TI 10 OE 1
# qaucli -pr fc -kr <hba wwpn> DP FF DS 8 TC 500 TI 10 OE 1
You do not have to set each parameter for the read/write buffer test. If you do not
specify a parameter in the command line, the current parameter value is used. For
example, the following command sets the data pattern to FFh and uses the
current values for the other parameters:
# qaucli -pr fc -kr <hba instance> DP FF
The following example sets the data size to 16 bytes and has the test loop if an
error occurs. The other parameters use the current values.
# qaucli -pr fc -kr <hba wwpn> DS 16 OE 2
An example of a successful read/write buffer test follows:
HBA 1: QEM2462 Port 1 WWPN xx-xx-xx-xx-xx-xx-xx-xx Port ID 02-0E-00
------------------
Test Configuration
------------------
Data Pattern : Random
Data Size (Bytes) : 512
Number of test(s) (0-65535) : 500
Test Increment (1-65535) : 1
On Error : Ignore
Test Continuous : OFF
------------------------------------------------------------------------------
NOTE:
All devices attached to the adapter must support SCSI Read/Write Buffer
commands.