查询和设置控制卡重构、回拷、巡检、擦除、后台初始化、预拷贝和一致性校验后台任务。
命令 |
说明 |
---|---|
hiraidadm ccontroller_id show bgtask |
查询控制卡后台任务进度。 |
hiraidadm ccontroller_id show allbgtask |
显示控制卡所有的后台任务进度。 |
hiraidadm ccontroller_id set bgrate func=func rate=rate |
设置RAID组重构/回拷/巡检/擦除/后台初始化/预拷贝/一致性校验后台速率。 |
参数 |
参数说明 |
取值 |
---|---|---|
controller_id |
控制卡的ID。 |
查询控制卡ID请参见查询控制卡列表。 |
func |
要执行的操作。 |
|
rate |
后台任务执行速率。 |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | [root@localhost ~]# hiraidadm c0 show bgtask ========================================== Hiraidadm Information =========================================== Name: hiraidadm Version: 1.2.0.2 Build Time: Nov 15 2022 22:07:55 ============================================================================================================== ============================================================================================================== Status Code = 0 Status = Success Description = None ============================================================================================================== Background task num is 1 -------------------------------------------------------------------------------------------------------------- Background Task Information -------------------------------------------------------------------------------------------------------------- Name Type ID Rate Progress TimeLeft bginit VD 0 high 34% 32 min -------------------------------------------------------------------------------------------------------------- |
[root@localhost ~]# hiraidadm c0 set bgrate func=rebuild 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 ============================================================================================================== -------------------------------------------------------------------------------------------------------------- User assign func : rebuild User assign rate : low --------------------------------------------------------------------------------------------------------------