Qlogic 3200 Series User Manual - -Rwt
7–iSCSI Noninteractive Commands
-rwt (Read Write Buffer Test—iSCSI)
SN0054667-00 G
7-23
-rwt
(Read Write Buffer Test—iSCSI)
The read/write buffer test writes an 8- or 16-byte pattern to the disk’s buffer and
reads the written buffer back. It is nondestructive to disk data.
To do a read/write buffer test, issue the -rwt command as follows:
-rwt <hba_port_inst> [-STOP] [-RWPAT n] [-CNT <Test Count>]
Where:
To continue, press ENTER.
CAUTION
Before running a read/write buffer test, make sure that the adapter does not
have any outstanding I/O operations.
–STOP = Stop the test if a failure occurs.
–RWPAT n = Set the pattern to write to the buffer, one of the following:
n = 1 (8 bytes of 0x55h) (default)
n = 2 (8 b.0tes of 0x5Ah)
n = 3 (16 bytes of 0xAAh)
n = 4 (16 bytes of 0xFFh)
hba_port_inst = The adapter port tested.
-CNT = Used with Test Count to set the number of tests, with one test
as default.
Test Count = The number of tests to do, with one as default. Type a num-
ber between 2–(2
31
) for more than one test.
NOTE
To stop an active diagnostic test, press ENTER. To use an alternate key to
stop tests, modify this line in the sfcli.properties configuration file:
Default:
node.app.diag.ascii.abortkey=CR
Custom: node.app.diag.ascii.abortkey=<stop key>
Where <stop key> is any alphabetic character a–z or A–Z (uppercase
characters require pressing SHIFT+
Example 1: To set the stop key to S (press SHIFT+S to stop the test):
node.app.diag.ascii.abortkey=S
Example 2: To set the stop key to s (press S to stop the test):
node.app.diag.ascii.abortkey=s