码迷,mamicode.com
首页 > 其他好文 > 详细

storcli 命令(更新Ing)

时间:2020-02-13 16:59:37      阅读:617      评论:0      收藏:0      [点我收藏+]

标签:div   serve   http   size   x86_64   dai   control   support   ESS   

  • help
 1 [root@centos7]# storcli -h
 2 Storage Command Line Tool Ver 007.0606.0000.0000 Mar 20, 2018
 3 
 4 (c)Copyright 2018, AVAGO Technologies, All Rights Reserved.
 5 
 6 
 7 storcli -v 
 8 storcli -h| -help| ? 
 9 storcli -h| -help| ? legacy
10 storcli show 
11 storcli show all
12 storcli show ctrlcount

 

  • 控制器数量(阵列卡)
1 [root@centos7]# storcli show ctrlcount
2 CLI Version = 007.0606.0000.0000 Mar 20, 2018
3 Operating system = Linux 3.10.0-862.el7.x86_64
4 Status Code = 0
5 Status = Success
6 Description = None
7 
8 Controller Count = 1

存在一个控制器,也就对应为/c0

  • JBOD

在线设置硬盘为直通(jbod)模式

1.确认raid卡支持jbod模式并开启jbod模式:

storcli64 /c0 show all |grep -i jbod

[root@centos7]# storcli /c0 show all |grep -i jbod
Support JBOD = Yes
Support SecurityonJBOD = Yes
Support JBOD Write cache = No
Enable JBOD = Yes

 

support JBOD = Yes , 说明阵列卡支持jbod模式

Enable JBOD = Yes , 说明当前开启jbod模式,关闭则 storcli64 /c0 set jbod=off

 

2.把指定设备设置成jbod模式:

storcli64 /c0/ex/sx set jbod

3.修改jbod模式为UGOOD模式:

如果要将该设备的jbod模式撤销掉 storcli64 /c0/ex/sx set good force

[root@centos7]# storcli /c0/e9/s15 set good force
CLI Version = 007.0606.0000.0000 Mar 20, 2018
Operating system = Linux 3.10.0-862.el7.x86_64
Controller = 0
Status = Success
Description = Set Drive Good Succeeded.

 

查阅:

https://www.cnblogs.com/wangl-blog/p/10839694.html

https://www.cnblogs.com/luxiaodai/p/9878747.html

后续更新ing

storcli 命令(更新Ing)

标签:div   serve   http   size   x86_64   dai   control   support   ESS   

原文地址:https://www.cnblogs.com/zhou1/p/12304005.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!