查询、设置控制卡一致性校验参数。
命令 |
说明 |
---|---|
hiraidadm ccontroller_id show ccheck |
查询控制卡一致性校验参数。 |
hiraidadm ccontroller_id set ccheck [period=period] [repair=repair_switch] [rate=rate] |
设置控制卡一致性校验,至少设置一个参数。 |
hiraidadm ccontroller_id start ccheck [delay=delay] [period=period] [repair=repair_switch] [rate=rate] |
设置控制卡一致性校验并开始。 |
hiraidadm ccontroller_id stop ccheck |
停止控制卡一致性校验。 |
参数 |
参数说明 |
取值 |
---|---|---|
controller_id |
控制卡的ID。 |
查询控制卡ID请参见查询控制卡列表。 |
delay |
延时时间。 |
1~24,单位:h |
period |
一致性校验的周期。 |
单位:day |
repair_switch |
自动修复开关。 |
|
rate |
一致性校验速率。 |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | [root@localhost ~]# hiraidadm c0 show ccheck ========================================== Hiraidadm Information =========================================== Name: hiraidadm Version: 1.2.0.2 Build Time: Nov 15 2022 22:07:55 ============================================================================================================== ============================================================================================================== Status Code = 0 Status = Success Description = None ============================================================================================================== Consistency Check Information ------------------------------------------------------- CCheck Switch | On Delay | 0 h Period | 60 day Rate | medium Repair | On Run status | stop Total Number Of CCheck | 0 Completed Number Of CCheck | 0 ------------------------------------------------------- |
[root@localhost ~]# hiraidadm c0 set ccheck period=20 repair=on rate=low ========================================== Hiraidadm Information =========================================== Name: hiraidadm Version: 1.2.0.2 Build Time: Nov 15 2022 22:07:55 ============================================================================================================== ============================================================================================================== Status Code = 0 Status = Success Description = None ==============================================================================================================
[root@localhost ~]# hiraidadm c0 start ccheck delay=10 period=20 repair=on rate=low ========================================== Hiraidadm Information =========================================== Name: hiraidadm Version: 1.2.0.2 Build Time: Nov 15 2022 22:07:55 ============================================================================================================== ============================================================================================================== Status Code = 0 Status = Success Description = None ==============================================================================================================
[root@localhost ~]# hiraidadm c0 stop ccheck ========================================== Hiraidadm Information =========================================== Name: hiraidadm Version: 1.2.0.2 Build Time: Nov 15 2022 22:07:55 ============================================================================================================== ============================================================================================================== Status Code = 0 Status = Success Description = None ==============================================================================================================