chcpset
Use chcpset to change volume
membership of an existing Replication Manager copy set. You can only add volumes
that are of the same device type.
Syntax

>>-repcli-- --chcpset-- ---src--source_volume_id-- ------------->
>---tgt--new_target_volume_id--[...]-- --session_name----------><
Parameters
- -src source_volume_id
- Specifies the source volume of the copy set that is being changed.
- -tgt new_target_volume_id [...]
- Specifies the new target or targets for the copy set that is being changed.
- session_name
- Specifies the session name to which the copy set belongs.
Description
You can use chcpset to change volume membership of
an existing Replication Manager copy set. You can only add volumes of the
same device type.
Return values
Column Label |
Details |
Source Volume |
Name of the source volume |
Target Volume |
Specifies the new target or targets for the copy set
that is being changed |
Session Name |
Name of the session to which the copy set belongs |
Possible failures
- Nothing to modify.
- Volume volume already belongs to session session_name.
- Source volume does not currently belong to session session_name.
- Volumes are not all of the same device type.
- Volume volume does not exist.
- You cannot delete the last volume in the copy set. You must delete the
copy set itself.
Examples
The resulting output:
repcli chcpset -src volumeA -tgt new_volumeB sessionX
copyset successfully changed.