Understanding how to create a mirror set, Understanding how to create a mirror set 7-13 – HP NetRAID-4M Controller User Manual
Page 163

7-13
Working With Single-level Containers
Specifying Synchronous or Asynchronous Mirror Set Creation
When you create a mirror set you can optionally specify whether the
command prompt returns after the mirror set is created
(synchronous command execution) or if the command prompt
returns immediately after executing the
container create
mirror
command (asynchronous command execution). The
mirror creation
operation may require more than a minute to
complete.
In the following example, the
container create mirror
command with the /wait switch creates a mirror set and returns the
prompt after the mirror set is created.
HPN0> container create mirror /wait=TRUE 0 (2,2,0)
Executing: container create mirror /wait=TRUE 0
(CHANNEL=2,ID=2,LUN=0)
Understanding How to Create a Mirror Set
This section provides an example that describes how to create a
mirror set.
Before creating a mirror set, be sure that the volume set that is to be
mirrored has been created. See Working with a Volume Set on page 7-2
for information on creating a volume set. Use the
container list
command to display information about your containers, as in the
following example. In the example, the Type column indicates that a
Volume
set resides on container 0. The Partition Size column
indicates that the partition that makes up the volume container
occupies 100MB (megabytes) of disk space.
HPN0> container list
Executing: container list
Cluster Num Total Oth Stripe Scsi Partition
Dr Partner Label Type Size Ctr Size Usage C:ID:L Offset:Size
-- ------- ----- ------ ------ --- ------ ------- ------ -------------
0 0 Volume 100MB None 2:01:0 64.0KB: 100MB
To create a mirror set use the
container create mirror
command, as in the following example. In the example, a mirror set
is created on SCSI device (2,2,0) from an existing container whose
container ID is 0. The I/O delay is set to 10 milliseconds.
HPN0> container create mirror /io_delay=10 0 (2,2,0)
Executing: container create mirror /io_delay=10 0
(CHANNEL=2,ID=2,LUN=0)