查询、修复控制卡故障。
命令 |
说明 |
---|---|
hiraidadm ccontroller_id show error |
查询控制卡的当前故障信息。 |
hiraidadm ccontroller_id start repair type=error_type |
修复控制卡的指定故障。 |
hiraidadm ccontroller_id show repair_process |
查询控制卡的故障修复进度。 |
参数 |
参数说明 |
取值 |
---|---|---|
controller_id |
控制卡的ID。 |
查询控制卡ID请参见查询控制卡列表。 |
error_type |
故障类型。 |
包括:
当故障类型为pinnedcache时,vd_id为需修复的vd的id。 |
“hiraidadm ccontroller_id show error”命令可查询的故障详细信息如下所示:
1 2 3 4 5 6 7 8 9 10 11 12 | [root@localhost ~]# hiraidadm c0 show error ========================================== 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 card is normal |
1 2 3 4 5 6 7 8 9 10 11 | [root@localhost ~]# hiraidadm c0 start repair type=writehole =========================================== 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 show repair_process ========================================== 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 card repair process is 100%.