chfcconsistgrp
Use the chfcconsistgrp command to change the name of a consistency group or mark the group for auto-deletion. You can also change the ownership group.
Syntax
Parameters
- -name new_name_arg
- (Optional) Specifies the new name to assign to the consistency group.
- -autodelete on | off
- (Optional) Deletes the consistency group when the last mapping that it contains is deleted or removed from the consistency group.
- -ownershipgroup owner_id | owner_name
- (Optional) The name or ID of the ownership group to which the object is being added.
- -noownershipgroup
- (Optional) If specified, the object is removed from the ownership group to which it belongs.
- fc_consist_group_id | fc_consist_group_name
- (Required) Specifies the ID or existing name of the consistency group that you want to modify.
Description
The chfcconsistgrp command changes the name of a consistency group, marks the group for auto-deletion, or both. You can also change the ownership group.
Note: Maps that are
rc_controlled are not shown in the view when this
command is specified.An invocation example
chfcconsistgrp -name testgrp1 fcconsistgrp1The resulting output:
No feedbackAn invocation example changing the ownership of a consistency group
chfcconsistgrp -ownershipgroup 2 myconsistgrpThe resulting output:
No feedbackAn invocation example moving the fcconsistencygroup to no ownership
chfcconsistgrp -noownershipgroup myconsistgrpThe resulting output:
No feedback