beautypg.com

HP StorageWorks Scalable File Share User Manual

Page 149

background image

Verifying the system

6–19

Speed for read to /dev/hpls/dev8a: 152 MB/s
Cleaning up test space
Resetting lun features for /dev/hpls/dev7a...
Resetting lun features for /dev/hpls/dev8a...

To run the command in parallel mode, enter the command using the following syntax,

where

lun_device

is the name of a device name to be tested. Run the command from the

administration server:

/usr/opt/hpls/diags/bin/raw_lun_check.bash
--lun "lun_device [lun_device ...]" --parallel

When the command finishes, the speed at which it wrote to and read from each device that

it tested is displayed, as shown in the following example:

# ssh south6 /usr/opt/hpls/diags/bin/raw_lun_check.bash -lun "/dev/hpls/
dev7a /dev/hpls/dev8a" -parallel

Checking for mirror components in database
Checking lun status...
Checking lun status...
Starting lun test
Speed for write to /dev/hpls/dev7a /dev/hpls/dev8a: 118 MB/s
Speed for read to /dev/hpls/dev7a /dev/hpls/dev8a: 185 MB/s
Cleaning up test space
Resetting lun features for /dev/hpls/dev7a...
Resetting lun features for /dev/hpls/dev8a...

c.

Compare the results of these tests with the expected performance details provided in

Appendix B.

The syntax of the

raw_lun_check.bash

command is as follows:

raw_lun_check.bash [-h] | [-v] [-r -f] [-i binary] -l lun_device -s|-p

Where:

-h|--help

Displays help on the command.

-v|--verbose

Provides verbose output.

-i|--iozone binary

Specifies that a binary other than the default (

/usr/opt/hpls/

diags/iozone/bin/iozone

) is to be used. Use this option

only if there is a problem with the default binary.

-l|--lun lun_device

Specifies the device to be tested.

-r|--reformat

Specifies that the LUN is to be reformatted as an

ext3

file system

before being tested. You must use this option, and the

-f

option,

if the LUN that is to be examined has not yet been used in a file

system.

CAUTION:

When you reformat a LUN, all user data on the LUN is lost. Do not use the

-r

|

--reformat

option on LUNs that have been used in a file system.

NOTE:

When the

-r

|

--reformat

option is used with the

raw_lun_check.bash

command, the entire device is reformatted to prepare it for testing, and the

raw_lun_check.bash

command will take some time to complete.

-f --force

Specifies that the LUN is to be reformatted even if this results in

data being lost. You must use this option, with the

-r

option, if the

LUN that is to be examined has not yet been used in a file system.

-s --serial

Specifies that the test is to be run in serial mode.

-p --parallel

Specifies that the test is to be run in parallel mode.