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
(選用)要向其新增物件的所有權群組的名稱或 ID。
-noownershipgroup
(選用)如果指定,則會從物件所屬的所有權群組中移除物件。
fc_consist_group_id | fc_consist_group_name
(必要)指定您想要修改的一致性群組的 ID 或現有名稱。

說明

chfcconsistgrp 指令會變更一致性群組的名稱,將群組標示為自動刪除,或同時執行這兩個動作。 您也可以變更所有權群組。

註: 指定這個指令時,不會在視圖中顯示 rc_controlled 的對映。

呼叫範例

chfcconsistgrp -name testgrp1 fcconsistgrp1

結果輸出:

No feedback

變更一致性群組所有權的呼叫範例

chfcconsistgrp -ownershipgroup 2 myconsistgrp

結果輸出:

No feedback

將 fcconsistencygroup 移至無所有權的呼叫範例

chfcconsistgrp -noownershipgroup myconsistgrp

結果輸出:

No feedback