chfcconsistgrp

使用 chfcconsistgrp 命令可更改一致性组的名称或者将该组标记为自动删除。您还可以更改所有权组。

语法

阅读语法图跳过直观语法图 chfcconsistgrp -namenew_name_arg-autodeleteonoff-ownershipgroupowner_id | owner_name-noownershipgroupfc_consist_group_idfc_consist_group_name

参数

-name new_name_arg
(可选)指定要为一致性组分配的新名称。
-autodelete on | off
(可选)如果已从一致性组删除或移除所包含的最后一个映射,那么将删除该一致性组。
-ownershipgroup owner_id | owner_name
(可选)对象添加到的所有权组的名称或标识。
-noownershipgroup
(可选)如果指定,那么将从对象所属的所有权组中移除该对象。
fc_consist_group_id | fc_consist_group_name
(必需)指定要修改的一致性组的标识或现有名称。

描述

chfcconsistgrp 命令用于更改一致性组的名称和/或将该组标记为自动删除。 您还可以更改所有权组。

注: 指定该命令时,状态为 rc_controlled 的映射将不会显示在视图中。

调用示例

chfcconsistgrp -name testgrp1 fcconsistgrp1

生成的输出:

无反馈

用于更改一致性组的所有权的调用示例

chfcconsistgrp -ownershipgroup 2 myconsistgrp

生成的输出:

无反馈

用于将 fcconsistencygroup 移动到无所有权的调用示例

chfcconsistgrp -noownershipgroup myconsistgrp

生成的输出:

无反馈