查看、设置系统中有pinned cache时,是否正常启动系统。
命令 |
说明 |
---|---|
hiraidadm ccontroller_id set bootwithpinnedcache sw=switch |
设置系统中有pinned cache时,是否正常启动。 |
hiraidadm ccontroller_id show bootwithpinnedcache |
查看系统中有pinned cache时,是否正常启动。 |
参数 |
参数说明 |
取值 |
---|---|---|
controller_id |
控制卡的ID。 |
查询控制卡ID请参见查询控制卡列表。 |
switch |
设置系统中有pinned cache时,是否启动。 |
On:系统中存在pinned cache时,系统会选择丢弃脏数据并正常启动。 Off:系统中存在pinned cache时,系统会保留这部分脏数据并正常启动。但需要用户主动处理这部分脏数据,否则会阻塞一部分系统管理命令,例如创建LUN、修改读写策略等。 |
无。
1 2 3 4 5 6 7 8 9 10 11 | [root@localhost ~]# hiraidadm c0 set bootwithpinnedcache 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 ============================================================================================================== |
1 2 3 4 5 6 7 8 9 10 11 12 | [root@localhost ~]# hiraidadm c0 show bootwithpinnedcache ========================================== Hiraidadm Information =========================================== Name: hiraidadm Version: 1.2.0.2 Build Time: Nov 15 2022 22:07:55 ============================================================================================================== ============================================================================================================== Status Code = 0 Status = Success Description = None ============================================================================================================== Boot With Pinned Cache Switch = On |