查询和设置SMART扫描周期

命令功能

查询、设置控制卡SMART扫描周期。

命令格式

命令

说明

hiraidadm ccontroller_id show smart_polling

查询SMART扫描周期。

hiraidadm ccontroller_id set smart_polling period=period

设置SMART扫描周期。

参数说明

参数

参数说明

取值

controller_id

控制卡的ID。

查询控制卡ID请参见查询控制卡列表

period

SMART扫描周期。

单位:s。最小值为60s。

使用指南

无。

使用实例

查询SMART扫描周期。
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
[root@localhost ~]# hiraidadm c0 show smart_polling
========================================== Hiraidadm   Information ===========================================
    Name: hiraidadm
    Version: 1.2.0.2
    Build Time: Nov 15 2022 22:07:55
==============================================================================================================
==============================================================================================================
    Status Code = 0
    Status = Success
    Description = None
==============================================================================================================
Drive smart polling period is 3600s.
设置Smart扫描周期为“600s”。
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
[root@localhost ~]# hiraidadm c0 set smart_polling period=600
========================================== 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 period : 600
--------------------------------------------------------------------------------------------------------------