NAME
acpair add - Addition of copy pairs.
SYNOPSIS
acpair add -g COPY-GROUP -p PAIR [-xml]
DESCRIPTION
This command adds copy pairs to copy groups.
OPTIONS
This option specifies a copy group name.
This option specifies the copy pair to be added.
The following example shows the format for specifying copy pairs.
(1) ETERNUS Disk storage system name for the copy source
(2) Logical volume number for the copy source
(3) ETERNUS Disk storage system name for the copy destination
(4) Logical volume number for the copy destination
In addition, you can specify in LU to Partition format, as well.
The following is an example of LU to Partition format.
(1) ETERNUS Disk storage system name for the copy source
(2) Logical volume number for the copy source
(3) Extent start position of the copy source (per block)
(4) Extent size of the copy source (number of blocks)
(5) ETERNUS Disk storage system name for the copy source
(6) Logical volume number for the copy source
(7) Extent start position of the copy destination (per block)
Point
If it starts with "0x", it is a hexadecimal number.
This option displays the result of the command execution in the XML format.
EXIT STATUS
=0: Terminate normally
>0: Terminate abnormally
EXAMPLES
> acpair add -g group01 -p DX80/0x1:DX80/0x6 Successful completion.
The following is an example of registering a copy pair in LU to Partition format.
> acpair add -g group01 -p DX80/0x1[addr=0x0,size=0x10000]:DX80/0x6[addr=0x80] Successful completion.
NOTES
Make sure that the logical volumes specified for the copy source and the copy destination are of the same size.
If the copy type is OPC, QuickOPC or EC:
Specify the ETERNUS Disk storage system name that was specified with the -a option of acgroup create (Command for creating copy groups).
When specifying a pair of ETERNUS Disk storage systems, specify the same ETERNUS Disk storage systems as those specified with the -a option when creating a copy group.
If the copy type is SnapOPCP:
For a pair of ETERNUS Disk storage systems to be specified, specify the same ETERNUS Disk storage systems as those specified with the -a option when creating the copy group.
If the number of copy destination volumes for the copy source volume of a specified pair exceeds the maximum number of sessions of Snapshot type Advanced Copy copies, this command ends abnormally.
If the copy destination for the specified pair is not SDV, this command ends abnormally.
If the copy type is REC:
Specify the ETERNUS Disk storage system name that was specified with either the -a or the -remote option of acgroup create (Command for creating copy groups).
Specify different ETERNUS names for the copy source and the copy destination.
The copy source ETERNUS Disk storage system name and the copy destination ETERNUS Disk storage system name for the copy pair being added must be the same as the copy source ETERNUS Disk storage system name and copy destination ETERNUS Disk storage system name for any copy pairs that have already been added to the copy group.
When specifying a pair of ETERNUS Disk storage systems, specify the same ETERNUS Disk storage systems as those specified with the -a or -remote option when creating a copy group.
For paired ETERNUS Disk storage systems names, specify different names for copy source and copy destination.
e.g.:
OK: DX90P/0x50:DX90S/0x51
NG: DX90P/0x50:DX90P/0x51
The copy source and destination ETERNUS names for a specified pair should be the same as those for already added pair.
If any pair in the same string exists in the group, it cannot be newly added.
Specify the same-size logical volumes for a pair you want to specify.
If you specify any logical volumes of different sizes and perform copy operation, it leads to the following results.
In the case of a copy-source logical volume size being larger than a copy-destination logical volume, when copy operation is executed, it will end abnormally.
In the case of a copy-source logical volume size being smaller than a copy-destination logical volume size, the copy will be the size of the copy-source logical volume.