beautypg.com

Bed in section 6.1.5.2, Section 6.1.5.2 – HP StorageWorks Scalable File Share User Manual

Page 147

background image

Verifying the system

6–17

6.1.5.2

Verifying the performance of LUNs on a single server

CAUTION:

Do not use the procedure described here to test the performance of a LUN that is a mirrored

LUN or a component of a mirrored LUN (MDS LUNs are usually mirrored). If the output of the

show lun

command shows the LUN role as

mirror

, do not run the

raw_lun_check.bash

command on the LUN.

If you do so, the contents of the LUN may be destroyed.

The

/usr/opt/hpls/diags/bin/raw_lun_check.bash

command tests the performance of LUNs on

a single server. You must only run this command against one server at a time. Do not use the

/usr/opt/

hpls/diags/bin/raw_lun_check.bash

command to test the performance of a mirrored LUN or a

LUN that is a component of a mirrored LUN.

Although you can use the

/usr/opt/hpls/diags/bin/raw_lun_check.bash

command on a LUN

that has never been used in a file system, the test must format the LUN before the test can start. You can

format the LUN by using the

-f

and

-r

arguments with the

raw_lun_check.bash

command. However,

formatting a LUN can take a long time; for this reason, it is best to postpone testing the LUNs until they have

been used in a file system.

When you run the

/usr/opt/hpls/diags/bin/raw_lun_check.bash

command, the command first

checks if the LUN is a mirrored LUN component, and an error message may be displayed, as follows:

If the LUN is a component of a mirrored LUN and the database is available, the following error

message is displayed:

# /usr/opt/hpls/diags/bin/raw_lun_check.bash -l "/dev/hpls/dev3a"
Checking for mirror components in database

Usage: raw_lun_check.bash [-h] | [-v] [-r -f] [-i ] -l
<-s | -p>

Where:
-s, --serial Run a serial lun test
-p, --parallel Run a parallel lun test
-l, --lun Set the lun to test
-i, --iozone Use iozone instead of default
-r, --reformat Reformat the lun before running the test
-f, --force Force the reformat
-h, --help Print this help
-v, --verbose Give verbose output

You must NOT test a component of a mirror (/dev/hpls/dev3a)
#

If the database is unavailable, the following message will be displayed. If the database is

unavailable, do not continue until you are certain that all LUNs to be tested are not components of a

mirrored LUN:

# /usr/opt/hpls/diags/bin/raw_lun_check.bash -l "/dev/hpls/dev3a"
Checking for mirror components in database
Database not ready - could not determine if luns to test are mirror components
Continue? [y/n]: n
Exiting by user request
#

In serial mode, the

/usr/opt/hpls/diags/bin/raw_lun_check.bash

command tests each

specified device (on the same server) in turn. In parallel mode, the command tests all specified devices (on

the same server) at the same time. The output from the command displays the speed at which the command

was able to read from and write to the specified device.