beautypg.com

HP Surestore Disk Array 12h and FC60 User Manual

Page 291

background image

Managing the Disk Array Using Array Manager 60 291

M

a

na
ging

the

Di
sk
Array

on HP-UX

Command Examples

The following example binds a 5-disk, RAID 5 LUN on disk array 0000005EBD20. The disk
array includes five disk enclosures, each on its own channel. The LUN uses a stripe
segment size of 16

K

bytes, is assigned LUN number 2, and is owned by controller A. Note

that each disk is in a different enclosure for high availability, and that there are no spaces
between the individual disk parameters.

amcfg -L A:2 -d 1:1,2:2,3:1,4:4,5:3 -r 5 -s 16 0000005EBD20

The following example binds a RAID 0/1 LUN on disk array rack_51. The LUN is owned by
controller B, is assigned LUN number 4, and uses a stripe segment size of 4

K

bytes. Note

that the disks selected create mirrored pairs that are in separate enclosures (1:3, 2:3 and
1:4, 2:4). This maintains high availability. Although RAID 1 is specified, the inclusion of
more than two disks causes the disk array to create a RAID 0/1 LUN.

amcfg -L B:4 -d 1:3,1:4,2:3,2:4 -r 1 -s 4 rack_51

-force

Allows you to bind a LUN using two or more
disks in the same enclosure or on the same
channel. This option allows you to override
the high-availability protection designed into
the LUN binding process. Using this option
you can specify more than one disk per
enclosure or channel. You can also use this
option to create a RAID 5 LUN that includes
more than six disks.

If not specified, you cannot bind a
LUN using multiple disks in the
same enclosure. You also cannot
bind a RAID 5 LUN with more than
six disks.

-s segmentsize

Indicates the stripe segment size in Kbytes.
The stripe segment size must be a multiple
of the current cache page size setting. For
example, if the cache page size is set to 4
Kbytes (8 blocks), valid settings would be 4,
8, 16, 32, 64, 128, etc.

If not specified, the stripe segment
size defaults to the same block size
used for the cache pages (4 Kbytes
or 16 Kbytes). The default cache
page size is 4 Kbytes.

Table 38

Command Options for Binding a LUN (cont’d)

Option

Description

Default