Q-Logic 2400 Manuel D’Utilisation

Page de 366
6–iSCSI Noninteractive Commands
-rwt (Perform Read/Write Buffer Test)
SN0054667-00  C
6-23
-rwt 
(Perform Read/Write Buffer Test
)
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.
-save 
(Save Host Configuration)
To save the configuration (in XML) of all adapters detected, issue the -save 
command as follows:
-save <file_name>
                                                                                           
CAUTION!
Before doing 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 = 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.