HP XP P9000 RAID Manager Reference Guide (T1610-96061, January 2014)

2 Data management commands
This chapter provides the specifications for the RAID Manager data management (replication and
protection) commands.
paircreate
WARNING! Use the paircreate command with caution. The command starts the initial copy
operation, which overwrites all data on the secondary/target volume of the pair. If the primary
and secondary volumes are not identified correctly, or if the wrong options are specified (for
example, vl instead of vr), data is copied to the wrong volume overwriting and the data in the
target of transferring will be overwritten.
The paircreate command is used to create a new volume pair from two unpaired volumes. The
paircreate command can create either a paired logical volume or a group of paired volumes. The
paircreate command allows you to specify the direction (local or remote) of the pair generation
(see Figure 3 (page 25)). If local (vl option) is specified, the server issuing the paircreate command
has the primary volume. If remote (vr option) is specified, the remote server has the primary volume.
The -split option of the paircreate command (Business Copy/Snapshot only) allows you to
simultaneously create and split pairs using a replication command only. When -split is used, the
pair status changes from COPY to PSUS (instead of PAIR) when the initial copy operation is complete.
Figure 3 Pair Creation
Before issuing the paircreate command, make sure that the secondary volume is not mounted on
any system. If the secondary volume is found to be mounted after paircreate, delete the pair (pairsplit
-S), unmount the secondary volume, and then reissue the paircreate command.
The paircreate command terminates before the initial copy operation is complete (except when
the nocopy option is specified). Use the pairevtwait or pairdisplay command to verify that the initial
copy operation completed successfully (status changes from COPY to PAIR, or from COPY to PSUS
if the -split option was specified).
Syntax
paircreate { -h | -q | -z | -I[H][M][instance#] or I[TC][SI][instance#]| -g <group>| -d <pair Vol> |
-d[g] <raw_device> [MU#] | -FHORC [MU#] or -FCA[MU#] | -d[g] <seq#> <LDEV#> [MU#]| -f[g] <fence>
[CTGID] | -v | -c <size> | -nocopy | -nomsg | -split | [-m <mode>]| -jp <id> | -jq <id> | -js <id> |
-pid <PID> | -fq <mode>| -cto <o-time> [c-time] [r-time] | -pvol(svol)[ldevgrp]-nocsus }
paircreate 25