5Non-Interactive Mode Commands Non-interactive Commands

S

-rwt

(Perform Read/Write Buffer Test)

CAUTION!

Before doing a read/write buffer test, make sure that the HBA does not have any outstanding I/O operations.

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 -rwtcommand as follows:

-rwt <hba_port_inst> [-STOP] [-RWPAT n] [-CNT <Test Count>]

Where:

–STOP= Stops the test if a failure occurs.

–RWPATn = 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.

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 -savecommand 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.

5-28

SN0054621-00 E

Page 112
Image 112
Q-Logic SN0054621-00 E manual Rwt, Save