news 2026/8/19 21:47:30

Broadcom网站下载、安装storcli(ESXI)

作者头像

张小明

前端开发工程师

1.2k 24
文章封面图
Broadcom网站下载、安装storcli(ESXI)

概述

storcli 是一款用于基于 LSI 的 HBA 和 RAID 控制器的控制器管理工具

说明:

1.输出结果含义参见DELL安装PERCCLI工具(ESXI)
2.StorCLI 命令与MegaCLI命令 对比如下:

功能分类MegaCLI 命令 (旧工具)StorCLI 命令 (新工具)
查看所有物理磁盘MegaCli -PDList -aALLstorcli /c0 /eall /sall show
查看指定磁盘详情MegaCli -PDInfo -PhysDrv[E:S] -aALLstorcli /c0 /eE /sS show all
查看Media ErrorsMegaCli -PDList -aALL | grep -E "Media Error|Firmware state"storcli /c0 /eall /sall show all | grep -E "Media Error|Firmware state"
定位指定磁盘MegaCli -PdLocate -start -PhysDrv[E:S] -aALLstorcli /c0 /eE /sS start locate
停止定位磁盘MegaCli -PdLocate -stop -PhysDrv[E:S] -aALLstorcli /c0 /eE /sS stop locate

下载地址

Management Software and Tool

  1. Latest Storcli2 注意新版工具只适用于新RAID卡
  2. Latest Storcli for all OS 建议先尝试传统工具,当前版本7.37
  3. 如果是老CPU建议下载StorCLI v7.21

安装

  1. 安装要求重启系统
[root@localhost:/tmp]esxcli software vibinstall-v/tmp/BCM_bootbank_storcli_007.3703.0000.0000-01.vib --no-sig-check Installation Result Message: The update completed successfully, but the system needs to be rebootedforthe changes to be effective. VIBs Installed: BCM_bootbank_storcli_007.3703.0000.0000-01 VIBs Removed: VIBs Skipped: Reboot Required:trueDPU Results:

卸载

  1. 查询
esxcli software vib list|grepstorcli storcli 007.3703.0000.0000-01 BCM VMwareAccepted2026-06-16host
  1. 卸载
esxcli software vib remove-nstorcli

使用

查询RAID信息

[root@localhost:/opt/storcli/bin]./storcli64 show<?xmlversion="1.0"?><output xmlns:esxcli="storcli"><listtype="string"><string>CLI Version=007.3703.0000.0000 Jan16,2026Operating system=VMkernel8.0.3 Status Code=0Status=Success Description=None Number of Controllers=1Host Name=localhost Operating System=VMkernel8.0.3 StoreLib IT Version=07.3703.0200.0000 StoreLib IR3 Version=16.16-0 System Overview:===============------------------------------------------------------------------- Ctl Model Ports PDs DGs DNOpt VDs VNOpt BBU sPR DS EHS ASOs Hlth -------------------------------------------------------------------0SAS3108882020Opt On - Y3Opt -------------------------------------------------------------------Ctl=Controller Index|DGs=Drivegroups|VDs=Virtual drives|Fld=FailedPDs=Physical drives|DNOpt=Array NotOptimal|VNOpt=VD NotOptimal|Opt=OptimalMsng=Missing|Dgd=Degraded|NdAtn=Need Attention|Unkwn=UnknownsPR=Scheduled Patrol Read|DS=DimmerSwitch|EHS=Emergency Spare DriveY=Yes|N=No|ASOs=Advanced Software Options|BBU=Battery backup unit/CVHlth=Health|Safe=Safe-mode boot|CertProv-Certificate Provision modeChrg=Charging|MsngCbl=Cable Failure</string></list></output>

查看 RAID 阵列(逻辑卷)信息

  1. 查看RAID信息
[root@localhost:/opt/storcli/bin]./storcli64 /c0/vall show all<?xmlversion="1.0"?><output xmlns:esxcli="storcli"><listtype="string"><string>CLI Version=007.3703.0000.0000 Jan16,2026Operating system=VMkernel8.0.3 Controller=0Status=Success Description=None /c0/v0:======--------------------------------------------------------------- DG/VD TYPE State Access Consist Cache Cac sCC Size Name ---------------------------------------------------------------0/0 RAID1 Optl RW Yes RWBD - ON278.464GB os ---------------------------------------------------------------VD=Virtual Drive|DG=Drive Group|Rec=RecoveryCac=CacheCade|OfLn=OffLine|Pdgd=Partially Degraded|Dgrd=DegradedOptl=Optimal|dflt=Default|RO=Read Only|RW=Read Write|HD=Hidden|TRANS=TransportReadyB=Blocked|Consist=Consistent|R=Read Ahead Always|NR=No Read Ahead|WB=WriteBackAWB=Always WriteBack|WT=WriteThrough|C=Cached IO|D=Direct IO|sCC=Scheduled Check Consistency PDsforVD0:============------------------------------------------------------------------------------ EID:Slt DID State DG Size Intf Med SED PI SeSz Model Sp Type ------------------------------------------------------------------------------2:012Onln0278.464GB SAS HDD N Y 512B ST300MP0005 U -2:113Onln0278.464GB SAS HDD N Y 512B ST300MP0005 U - ------------------------------------------------------------------------------EID=Enclosure Device ID|Slt=Slot No|DID=Device ID|DG=DriveGroupDHS=Dedicated Hot Spare|UGood=Unconfigured Good|GHS=Global HotspareUBad=Unconfigured Bad|Sntze=Sanitize|Onln=Online|Offln=Offline|Intf=InterfaceMed=Media Type|SED=Self Encryptive Drive|PI=PI EligibleSeSz=Sector Size|Sp=Spun|U=Up|D=Down|T=Transition|F=ForeignUGUnsp=UGood Unsupported|UGShld=UGood shielded|HSPShld=Hotspare shieldedCFShld=Configured shielded|Cpybck=CopyBack|CBShld=Copyback ShieldedUBUnsp=UBad Unsupported|Rbld=Rebuild VD0 Properties:==============Strip Size=256KB Number of Blocks=583983104VD has Emulated PD=No Span Depth=1Number of Drives Per Span=2Write Cache(initial setting)=WriteBack Disk Cache Policy=Disk&apos;s Default Encryption=None Data Protection=Disabled Active Operations=None Exposed to OS=Yes OS Drive Name=N/A Creation Date=17-04-2026 Creation Time=07:38:10 AM Emulationtype=default Cachebypass size=Cachebypass-64k Cachebypass Mode=Cachebypass Intelligent Is LD ReadyforOS Requests=Yes SCSI NAA Id=630004295aa9381231749fe225f91908 Unmap Enabled=N/A /c0/v1:======------------------------------------------------------------- DG/VD TYPE State Access Consist Cache Cac sCC Size Name -------------------------------------------------------------1/1 RAID5 Optl RW Yes RWBD - ON2.179TB data -------------------------------------------------------------VD=Virtual Drive|DG=Drive Group|Rec=RecoveryCac=CacheCade|OfLn=OffLine|Pdgd=Partially Degraded|Dgrd=DegradedOptl=Optimal|dflt=Default|RO=Read Only|RW=Read Write|HD=Hidden|TRANS=TransportReadyB=Blocked|Consist=Consistent|R=Read Ahead Always|NR=No Read Ahead|WB=WriteBackAWB=Always WriteBack|WT=WriteThrough|C=Cached IO|D=Direct IO|sCC=Scheduled Check Consistency PDsforVD1:============------------------------------------------------------------------------------ EID:Slt DID State DG Size Intf Med SED PI SeSz Model Sp Type ------------------------------------------------------------------------------2:39Onln1557.861GB SAS HDD N N 512B HUC156060CSS200 U -2:410Onln1557.861GB SAS HDD N N 512B HUC156060CSS200 U -2:58Onln1557.861GB SAS HDD N N 512B HUC156060CSS200 U -2:66Onln1557.861GB SAS HDD N N 512B HUC156060CSS200 U -2:75Onln1557.861GB SAS HDD N N 512B HUC156060CSS200 U - ------------------------------------------------------------------------------EID=Enclosure Device ID|Slt=Slot No|DID=Device ID|DG=DriveGroupDHS=Dedicated Hot Spare|UGood=Unconfigured Good|GHS=Global HotspareUBad=Unconfigured Bad|Sntze=Sanitize|Onln=Online|Offln=Offline|Intf=InterfaceMed=Media Type|SED=Self Encryptive Drive|PI=PI EligibleSeSz=Sector Size|Sp=Spun|U=Up|D=Down|T=Transition|F=ForeignUGUnsp=UGood Unsupported|UGShld=UGood shielded|HSPShld=Hotspare shieldedCFShld=Configured shielded|Cpybck=CopyBack|CBShld=Copyback ShieldedUBUnsp=UBad Unsupported|Rbld=Rebuild VD1 Properties:==============Strip Size=256KB Number of Blocks=4679680000VD has Emulated PD=No Span Depth=1Number of Drives Per Span=5Write Cache(initial setting)=WriteBack Disk Cache Policy=Disk&apos;s Default Encryption=None Data Protection=Disabled Active Operations=None Exposed to OS=Yes OS Drive Name=N/A Creation Date=17-04-2026 Creation Time=07:38:36 AM Emulationtype=default Cachebypass size=Cachebypass-64k Cachebypass Mode=Cachebypass Intelligent Is LD ReadyforOS Requests=Yes SCSI NAA Id=630004295aa9381231749ffc277be53e Unmap Enabled=N/A</string></list></output>
  1. 单独查看
  • 查看VD0
[root@localhost:/opt/storcli/bin]./storcli64 /c0 /v0 show<?xmlversion="1.0"?><output xmlns:esxcli="storcli"><listtype="string"><string>CLI Version=007.3703.0000.0000 Jan16,2026Operating system=VMkernel8.0.3 Controller=0Status=Success Description=None Virtual Drives:==============--------------------------------------------------------------- DG/VD TYPE State Access Consist Cache Cac sCC Size Name ---------------------------------------------------------------0/0 RAID1 Optl RW Yes RWBD - ON278.464GB os ---------------------------------------------------------------VD=Virtual Drive|DG=Drive Group|Rec=RecoveryCac=CacheCade|OfLn=OffLine|Pdgd=Partially Degraded|Dgrd=DegradedOptl=Optimal|dflt=Default|RO=Read Only|RW=Read Write|HD=Hidden|TRANS=TransportReadyB=Blocked|Consist=Consistent|R=Read Ahead Always|NR=No Read Ahead|WB=WriteBackAWB=Always WriteBack|WT=WriteThrough|C=Cached IO|D=Direct IO|sCC=Scheduled Check Consistency</string></list></output>
  • 查看VD1
[root@localhost:/opt/storcli/bin]./storcli64 /c0 /v1 show<?xmlversion="1.0"?><output xmlns:esxcli="storcli"><listtype="string"><string>CLI Version=007.3703.0000.0000 Jan16,2026Operating system=VMkernel8.0.3 Controller=0Status=Success Description=None Virtual Drives:==============------------------------------------------------------------- DG/VD TYPE State Access Consist Cache Cac sCC Size Name -------------------------------------------------------------1/1 RAID5 Optl RW Yes RWBD - ON2.179TB data -------------------------------------------------------------VD=Virtual Drive|DG=Drive Group|Rec=RecoveryCac=CacheCade|OfLn=OffLine|Pdgd=Partially Degraded|Dgrd=DegradedOptl=Optimal|dflt=Default|RO=Read Only|RW=Read Write|HD=Hidden|TRANS=TransportReadyB=Blocked|Consist=Consistent|R=Read Ahead Always|NR=No Read Ahead|WB=WriteBackAWB=Always WriteBack|WT=WriteThrough|C=Cached IO|D=Direct IO|sCC=Scheduled Check Consistency</string></list></output>

查看物理硬盘信息与状态

[root@localhost:/opt/storcli/bin]./storcli64 /c0 /eall /sall show<?xmlversion="1.0"?><output xmlns:esxcli="storcli"><listtype="string"><string>CLI Version=007.3703.0000.0000 Jan16,2026Operating system=VMkernel8.0.3 Controller=0Status=Success Description=Show Drive Information Succeeded. Drive Information:=================------------------------------------------------------------------------------ EID:Slt DID State DG Size Intf Med SED PI SeSz Model Sp Type ------------------------------------------------------------------------------2:012Onln0278.464GB SAS HDD N Y 512B ST300MP0005 U -2:113Onln0278.464GB SAS HDD N Y 512B ST300MP0005 U -2:39Onln1557.861GB SAS HDD N N 512B HUC156060CSS200 U -2:410Onln1557.861GB SAS HDD N N 512B HUC156060CSS200 U -2:58Onln1557.861GB SAS HDD N N 512B HUC156060CSS200 U -2:66Onln1557.861GB SAS HDD N N 512B HUC156060CSS200 U -2:75Onln1557.861GB SAS HDD N N 512B HUC156060CSS200 U -2:87DHS1557.861GB SAS HDD N N 512B HUC156060CSS200 U - ------------------------------------------------------------------------------EID=Enclosure Device ID|Slt=Slot No|DID=Device ID|DG=DriveGroupDHS=Dedicated Hot Spare|UGood=Unconfigured Good|GHS=Global HotspareUBad=Unconfigured Bad|Sntze=Sanitize|Onln=Online|Offln=Offline|Intf=InterfaceMed=Media Type|SED=Self Encryptive Drive|PI=PI EligibleSeSz=Sector Size|Sp=Spun|U=Up|D=Down|T=Transition|F=ForeignUGUnsp=UGood Unsupported|UGShld=UGood shielded|HSPShld=Hotspare shieldedCFShld=Configured shielded|Cpybck=CopyBack|CBShld=Copyback ShieldedUBUnsp=UBad Unsupported|Rbld=Rebuild</string></list></output>

查看硬盘错误信息

[root@localhost:/opt/storcli/bin]./storcli64 /c0/eall/sall show all|grep-E"Media Error|Predictive Failure|Firmware state"Media Error Count=0Predictive Failure Count=0Last Predictive Failure Event Sequence Number=0Media Error Count=0Predictive Failure Count=0Last Predictive Failure Event Sequence Number=0Media Error Count=0Predictive Failure Count=0Last Predictive Failure Event Sequence Number=0Media Error Count=0Predictive Failure Count=0Last Predictive Failure Event Sequence Number=0Media Error Count=0Predictive Failure Count=0Last Predictive Failure Event Sequence Number=0Media Error Count=0Predictive Failure Count=0Last Predictive Failure Event Sequence Number=0Media Error Count=0Predictive Failure Count=0Last Predictive Failure Event Sequence Number=0Media Error Count=0Predictive Failure Count=0Last Predictive Failure Event Sequence Number=0
版权声明: 本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若内容造成侵权/违法违规/事实不符,请联系邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!
网站建设 2026/8/19 21:47:25

成都新能源汽车推广6.9万辆背后的政策、产业与生态构建

1. 从数字到场景&#xff1a;成都新能源汽车推广的深层解读看到“四川成都累计推广新能源汽车6.9万辆”这个标题&#xff0c;很多人的第一反应可能只是一个冷冰冰的统计数字。但作为一个长期关注城市交通与能源转型的从业者&#xff0c;我看到的远不止于此。这个数字背后&#…

作者头像 李华
网站建设 2026/8/19 21:45:08

二刷hot100-347.前k个高频元素

用到了小顶堆&#xff0c;始终在堆里保持k个当前高频的元素&#xff0c;堆口是元素中最低频的&#xff0c;用于随时切换&#xff1b;注意一下堆存二维数组&#xff0c;以及map的迭代方式&#xff1a;Map.Entry<Integer,Integer> entry : map.entrySet()class Solution {p…

作者头像 李华
网站建设 2026/8/19 21:40:05

STM32驱动VL53L0X TOF传感器:从硬件连接到软件滤波的完整测距方案

1. 项目概述&#xff1a;用STM32和TOF传感器搞定精准测距最近在做一个智能小车避障的项目&#xff0c;核心需求就是要实时、精准地测量前方障碍物的距离。市面上测距方案不少&#xff0c;超声波、红外、激光雷达各有优劣。超声波成本低但精度和方向性一般&#xff0c;激光雷达精…

作者头像 李华
网站建设 2026/8/19 21:38:33

智能体驱动的强化学习研究:让四足机器人自主学会稳健行走

1. 项目概述&#xff1a;当智能体学会“自己教自己”走路最近在机器人控制领域&#xff0c;一个方向越来越火&#xff1a;让智能体&#xff08;Agent&#xff09;自己驱动整个强化学习研究过程&#xff0c;实现从策略探索、训练到迭代优化的全自动化。这听起来有点科幻&#xf…

作者头像 李华
网站建设 2026/8/19 21:33:50

实测Harness如何驾驭DeepSeek V4-Pro:AI智能体框架提升开发效率

最近在尝试将 DeepSeek 的 V4-Pro 模型集成到本地开发环境中&#xff0c;遇到了不少挑战。从 API 调用延迟到上下文管理&#xff0c;再到复杂任务的稳定输出&#xff0c;每一步都像是在“踩坑”。特别是当项目需要处理长文档、多轮对话和代码生成混合的场景时&#xff0c;单纯的…

作者头像 李华
网站建设 2026/8/19 21:30:32

Piem Machine:从机械设计到自动化控制的厨房创客实践

1. 从“派”到“机器”&#xff1a;一个厨房极客的终极浪漫 如果你和我一样&#xff0c;是个对厨房里那些能“解放双手”的玩意儿毫无抵抗力的人&#xff0c;那么“Piem Machine”这个词组一出现&#xff0c;就足以让你心跳加速。它听起来不像一个标准化的商品名称&#xff0c;…

作者头像 李华