查询和设置控制卡故障修复策略。
命令 |
说明 |
---|---|
hiraidadm ccontroller_id set repair policy=repair_policy |
配置控制卡的修复策略。 |
hiraidadm ccontroller_id show repair_policy |
查询控制卡的修复策略。 |
参数 |
参数说明 |
取值 |
---|---|---|
controller_id |
控制卡的ID。 |
查询控制卡ID请参见查询控制卡列表。 |
repair_policy |
控制卡的修复策略。 |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | [root@localhost ~]# hiraidadm c0 set repair policy=default ========================================== Hiraidadm Information =========================================== Name: hiraidadm Version: 1.2.0.2 Build Time: Nov 15 2022 22:07:55 ============================================================================================================== Do you confirm the execution [Warning] after setting "policy=default", the system will repair according to the default policy, and the problem of data loss may occur after repairing Please input [y|Y] for yes, others for cancel --------------------------------------------- y ============================================================================================================== Status Code = 0 Status = Success Description = None ============================================================================================================== |
1 2 3 4 5 6 7 8 9 10 11 12 | [root@localhost ~]# hiraidadm c0 show repair_policy ========================================== Hiraidadm Information =========================================== Name: hiraidadm Version: 1.2.0.2 Build Time: Nov 15 2022 22:07:55 ============================================================================================================== ============================================================================================================== Status Code = 0 Status = Success Description = None ============================================================================================================== The current repair policy is default. |