Qlogic 3200 Series User Manual - page 89
5–Fibre Channel Noninteractive Commands
-kr (Run Read/Write Buffer Test)
SN0054667-00 B
5-19
uses the SCSI Read Buffer command to read the returned data and do a data
comparison.
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
NOTE:
All devices attached to the adapter must support SCSI Read/Write Buffer
commands.