查询、设置指定硬盘的Cache策略。
命令 |
说明 |
---|---|
hiraidadm ccontroller_id:eenclosure_id:sslot_id set pdcache sw=switch |
设置硬盘的Cache状态。 |
hiraidadm ccontroller_id:eenclosure_id:sslot_id show pdcache |
查询硬盘的Cache状态。 |
无。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | [root@localhost ~]# hiraidadm c0:e0:s6 set pdcache sw=on =========================================== 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 sw : on -------------------------------------------------------------------------------------------------------------- |
1 2 3 4 5 6 7 8 9 10 11 12 | [root@localhost ~]# hiraidadm c0:e0:s6 show pdcache =========================================== 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 Cache switch = On |