mkcpset
You can use mkcpset to create
a Replication Manager copy set when you want to define your own source-to-target
mapping. Use the lsvol command to get a list of volumes
for the copy sets. (If you use the mktgtpool command
and then the mksess command, the copy sets are created
automatically.) You can only add volumes of the same device type.
Syntax

>>-repcli-- --mkcpset-- ---src--source_volume_id-- ------------->
>---tgt--target_volume_id--[...]-- --session_name--------------><
Parameters
- -src source_volume_id
- Specifies the source volume of the copy set that is being created.
- -tgt target_volume_id [...]
- Specifies the target volumes for the copy set that is being created.
- session_name
- Specifies the session name to which the copy set will belong.
Description
You can use mkcpset to create a Replication Manager
copy set when you want to define your own source-to-target mapping. Use the lsvol command to get a list of volumes for the copy sets.
(If you use the mktgtpool command and then the mksess command, the copy sets are created automatically.) You can only
add volumes of the same device type.
Return values
Possible failures
- Nothing to modify.
- Volume volume already belongs to session session_name.
- Volume volume does not exist .
- Volumes are not all of the same device type.
Examples
An invocation example:
repcli mkcpset -src ESS:2105.65302:VOL:1610
-tgt ESS:2105.65303:VOL:1611 session1
The resulting output:
Copyset successfully added to session1.