5 – Non-Interactive Mode Commands
Non-interactive Commands
5-28 SN0054621-00 E
S
-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 non-destructive to disk data.
To do a read/write buffer test, enter the -rwt command as follows:
-rwt <hba_port_inst> [-STOP] [-RWPAT n] [-CNT <Test Count>]
Where:
To continue, press ENTER.
For information on the interactive version of this command see “Perform
Read/Write Buffer Test (CLI Option -rwt)” on page 4-31.
-save
(Save Host Configuration)
To save the configuration (in XML) of all HBAs detected, enter the -save
command as follows:
-save <File Name>
For information on the interactive version of this command, see “Save Host
Configuration (CLI Option -save)” on page 4-9.
CAUTION!
Before doing a read/write buffer test, make sure that the HBA does not have
any outstanding I/O operations.
–STOP = Stops the test if a failure occurs.
–RWPAT n = Sets the pattern to write to the buffer, one of the follow-
ing:
n = 1 (8 bytes of 0x55h) (default)
n = 2 (8 bytes of 0x5Ah)
n = 3 (16 bytes of 0xAAh)
n = 4 (16 bytes of 0xFFh)
hba_port_inst = The HBA 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. Enter a
number between 2–(2^31) for more than one test.