正睿服务器  >  新闻中心  >  技术文章
新闻中心

阵列卡在Linux下的管理工具StorCLI

间隙填充
正睿科技  发布时间:2021-06-23 16:41:04  浏览数:183

测试环境:

测试机型  ZI2C9S8-8496V
阵列卡型号  LSI 9361-8i
操作系统  Centos 7.9
网络配置  192.168.0.X

1、下载管理软件

下载地址:broadcom官方网站,如图

2、安装软件

下载后查看安装包内说明文件,如LINUX下的说明文件LINUX_Readme.txt

1. Unzip the StorCLI package.

解压文件
2. To install the StorCLI RPM, run the rpm -ivh <StorCLI-x.xx-x.noarch.rpm> command.

通过rpm命令安装工具
3. To upgrade the StorCLI RPM, run the rpm -Uvh <StorCLI-x.xx-x.noarch.rpm> command.

通过rpm命令卸载工具

3、工具的运行

安装完毕之后storcli64所在路径为/opt/MegaRAID/storcli/storcli64,可以在此目录下执行./storcli64

也可以链接到bin目录下

ln -s /opt/MegaRAID/storcli/storcli64 /bin/storcli
ln -s /opt/MegaRAID/storcli/storcli64 /sbin/storcli

4、工具的常用命令

[root@localhost Linux]# storcli64 /c0 show

#查看控制器0的信息

[root@localhost Linux]# storcli64 /c0 /v0 show
Controller = 0
Status = Success
Description = None
Virtual Drives :
==============
----------------------------------------------------------
DG/VD TYPE   State Access Consist Cache sCC     Size Name
----------------------------------------------------------
0/0   RAID10 Optl  RW     No      RWTD  -   1.089 TB     
----------------------------------------------------------
Cac=CacheCade|Rec=Recovery|OfLn=OffLine|Pdgd=Partially Degraded|dgrd=Degraded
Optl=Optimal|RO=Read Only|RW=Read Write|HD=Hidden|B=Blocked|Consist=Consistent|
R=Read Ahead Always|NR=No Read Ahead|WB=WriteBack|
AWB=Always WriteBack|WT=WriteThrough|C=Cached IO|D=Direct IO|sCC=Scheduled
Check Consistency
#可以看出此为RAID10,一个虚拟磁盘,大小为1.089 TB

[root@localhost Linux]# storcli64 /c0 /eall /sall show
Controller = 0
Status = Success
Description = Show Drive Information Succeeded.
Drive Information :
=================
-------------------------------------------------------------------------
EID:Slt DID State DG       Size Intf Med SED PI SeSz Model            Sp
-------------------------------------------------------------------------
252:4    12 Onln   0 558.406 GB SAS  HDD N   N  512B ST3600057SS      U 
252:5    13 Onln   0 558.406 GB SAS  HDD N   N  512B ST3600057SS      U 
252:6    14 Onln   0 558.406 GB SAS  HDD N   N  512B ST3600057SS      U 
252:7    15 Onln   0 558.406 GB SAS  HDD N   N  512B ST3600057SS      U 
-------------------------------------------------------------------------
EID-Enclosure Device ID|Slt-Slot No.|DID-Device ID|DG-DriveGroup
DHS-Dedicated Hot Spare|UGood-Unconfigured Good|GHS-Global Hotspare
UBad-Unconfigured Bad|Onln-Online|Offln-Offline|Intf-Interface
Med-Media Type|SED-Self Encryptive Drive|PI-Protection Info
SeSz-Sector Size|Sp-Spun|U-Up|D-Down|T-Transition|F-Foreign
UGUnsp-Unsupported|UGShld-UnConfigured shielded|HSPShld-Hotspare shielded
CFShld-Configured shielded
#查看磁盘信息,接口类型等

更多功能可执行storcli64 -h

  • 正睿合作伙伴
  • 社区
首页 | 注册 | 网站地图 | 通告 | 联系我们
CopyRight(C)2004-2021 Chongqing Zhengrui Technology Co.,Ltd. All rights reserved.
重庆正睿科技有限公司(C)版权所有 未经书面授权 不得转载、复制或建立镜像
渝ICP备11002339号-1  渝公网安备 50010702500475号