ARTICLE · INTELLIGENCE

战地情报 · 详情页

来自尧图项目组的一线实战观察与深度解析

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

Broadcom网站下载、安装storcli(ESXI) 概述storcli 是一款用于基于 LSI 的 HBA 和 RAID 控制器的控制器管理工具说明1.输出结果含义参见DELL安装PERCCLI工具ESXI2.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 statestorcli /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 ToolLatest Storcli2 注意新版工具只适用于新RAID卡Latest Storcli for all OS 建议先尝试传统工具当前版本7.37如果是老CPU建议下载StorCLI v7.21安装安装要求重启系统[rootlocalhost:/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:卸载查询esxcli software vib list|grepstorcli storcli 007.3703.0000.0000-01 BCM VMwareAccepted2026-06-16host卸载esxcli software vib remove-nstorcli使用查询RAID信息[rootlocalhost:/opt/storcli/bin]./storcli64 show?xmlversion1.0?output xmlns:esxclistorclilisttypestringstringCLI Version007.3703.0000.0000 Jan16,2026Operating systemVMkernel8.0.3 Status Code0StatusSuccess DescriptionNone Number of Controllers1Host Namelocalhost Operating SystemVMkernel8.0.3 StoreLib IT Version07.3703.0200.0000 StoreLib IR3 Version16.16-0 System Overview:------------------------------------------------------------------- Ctl Model Ports PDs DGs DNOpt VDs VNOpt BBU sPR DS EHS ASOs Hlth -------------------------------------------------------------------0SAS3108882020Opt On - Y3Opt -------------------------------------------------------------------CtlController Index|DGsDrivegroups|VDsVirtual drives|FldFailedPDsPhysical drives|DNOptArray NotOptimal|VNOptVD NotOptimal|OptOptimalMsngMissing|DgdDegraded|NdAtnNeed Attention|UnkwnUnknownsPRScheduled Patrol Read|DSDimmerSwitch|EHSEmergency Spare DriveYYes|NNo|ASOsAdvanced Software Options|BBUBattery backup unit/CVHlthHealth|SafeSafe-mode boot|CertProv-Certificate Provision modeChrgCharging|MsngCblCable Failure/string/list/output查看 RAID 阵列逻辑卷信息查看RAID信息[rootlocalhost:/opt/storcli/bin]./storcli64 /c0/vall show all?xmlversion1.0?output xmlns:esxclistorclilisttypestringstringCLI Version007.3703.0000.0000 Jan16,2026Operating systemVMkernel8.0.3 Controller0StatusSuccess DescriptionNone /c0/v0:--------------------------------------------------------------- DG/VD TYPE State Access Consist Cache Cac sCC Size Name ---------------------------------------------------------------0/0 RAID1 Optl RW Yes RWBD - ON278.464GB os ---------------------------------------------------------------VDVirtual Drive|DGDrive Group|RecRecoveryCacCacheCade|OfLnOffLine|PdgdPartially Degraded|DgrdDegradedOptlOptimal|dfltDefault|RORead Only|RWRead Write|HDHidden|TRANSTransportReadyBBlocked|ConsistConsistent|RRead Ahead Always|NRNo Read Ahead|WBWriteBackAWBAlways WriteBack|WTWriteThrough|CCached IO|DDirect IO|sCCScheduled 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 - ------------------------------------------------------------------------------EIDEnclosure Device ID|SltSlot No|DIDDevice ID|DGDriveGroupDHSDedicated Hot Spare|UGoodUnconfigured Good|GHSGlobal HotspareUBadUnconfigured Bad|SntzeSanitize|OnlnOnline|OfflnOffline|IntfInterfaceMedMedia Type|SEDSelf Encryptive Drive|PIPI EligibleSeSzSector Size|SpSpun|UUp|DDown|TTransition|FForeignUGUnspUGood Unsupported|UGShldUGood shielded|HSPShldHotspare shieldedCFShldConfigured shielded|CpybckCopyBack|CBShldCopyback ShieldedUBUnspUBad Unsupported|RbldRebuild VD0 Properties:Strip Size256KB Number of Blocks583983104VD has Emulated PDNo Span Depth1Number of Drives Per Span2Write Cache(initial setting)WriteBack Disk Cache PolicyDiskapos;s Default EncryptionNone Data ProtectionDisabled Active OperationsNone Exposed to OSYes OS Drive NameN/A Creation Date17-04-2026 Creation Time07:38:10 AM Emulationtypedefault Cachebypass sizeCachebypass-64k Cachebypass ModeCachebypass Intelligent Is LD ReadyforOS RequestsYes SCSI NAA Id630004295aa9381231749fe225f91908 Unmap EnabledN/A /c0/v1:------------------------------------------------------------- DG/VD TYPE State Access Consist Cache Cac sCC Size Name -------------------------------------------------------------1/1 RAID5 Optl RW Yes RWBD - ON2.179TB data -------------------------------------------------------------VDVirtual Drive|DGDrive Group|RecRecoveryCacCacheCade|OfLnOffLine|PdgdPartially Degraded|DgrdDegradedOptlOptimal|dfltDefault|RORead Only|RWRead Write|HDHidden|TRANSTransportReadyBBlocked|ConsistConsistent|RRead Ahead Always|NRNo Read Ahead|WBWriteBackAWBAlways WriteBack|WTWriteThrough|CCached IO|DDirect IO|sCCScheduled 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 - ------------------------------------------------------------------------------EIDEnclosure Device ID|SltSlot No|DIDDevice ID|DGDriveGroupDHSDedicated Hot Spare|UGoodUnconfigured Good|GHSGlobal HotspareUBadUnconfigured Bad|SntzeSanitize|OnlnOnline|OfflnOffline|IntfInterfaceMedMedia Type|SEDSelf Encryptive Drive|PIPI EligibleSeSzSector Size|SpSpun|UUp|DDown|TTransition|FForeignUGUnspUGood Unsupported|UGShldUGood shielded|HSPShldHotspare shieldedCFShldConfigured shielded|CpybckCopyBack|CBShldCopyback ShieldedUBUnspUBad Unsupported|RbldRebuild VD1 Properties:Strip Size256KB Number of Blocks4679680000VD has Emulated PDNo Span Depth1Number of Drives Per Span5Write Cache(initial setting)WriteBack Disk Cache PolicyDiskapos;s Default EncryptionNone Data ProtectionDisabled Active OperationsNone Exposed to OSYes OS Drive NameN/A Creation Date17-04-2026 Creation Time07:38:36 AM Emulationtypedefault Cachebypass sizeCachebypass-64k Cachebypass ModeCachebypass Intelligent Is LD ReadyforOS RequestsYes SCSI NAA Id630004295aa9381231749ffc277be53e Unmap EnabledN/A/string/list/output单独查看查看VD0[rootlocalhost:/opt/storcli/bin]./storcli64 /c0 /v0 show?xmlversion1.0?output xmlns:esxclistorclilisttypestringstringCLI Version007.3703.0000.0000 Jan16,2026Operating systemVMkernel8.0.3 Controller0StatusSuccess DescriptionNone Virtual Drives:--------------------------------------------------------------- DG/VD TYPE State Access Consist Cache Cac sCC Size Name ---------------------------------------------------------------0/0 RAID1 Optl RW Yes RWBD - ON278.464GB os ---------------------------------------------------------------VDVirtual Drive|DGDrive Group|RecRecoveryCacCacheCade|OfLnOffLine|PdgdPartially Degraded|DgrdDegradedOptlOptimal|dfltDefault|RORead Only|RWRead Write|HDHidden|TRANSTransportReadyBBlocked|ConsistConsistent|RRead Ahead Always|NRNo Read Ahead|WBWriteBackAWBAlways WriteBack|WTWriteThrough|CCached IO|DDirect IO|sCCScheduled Check Consistency/string/list/output查看VD1[rootlocalhost:/opt/storcli/bin]./storcli64 /c0 /v1 show?xmlversion1.0?output xmlns:esxclistorclilisttypestringstringCLI Version007.3703.0000.0000 Jan16,2026Operating systemVMkernel8.0.3 Controller0StatusSuccess DescriptionNone Virtual Drives:------------------------------------------------------------- DG/VD TYPE State Access Consist Cache Cac sCC Size Name -------------------------------------------------------------1/1 RAID5 Optl RW Yes RWBD - ON2.179TB data -------------------------------------------------------------VDVirtual Drive|DGDrive Group|RecRecoveryCacCacheCade|OfLnOffLine|PdgdPartially Degraded|DgrdDegradedOptlOptimal|dfltDefault|RORead Only|RWRead Write|HDHidden|TRANSTransportReadyBBlocked|ConsistConsistent|RRead Ahead Always|NRNo Read Ahead|WBWriteBackAWBAlways WriteBack|WTWriteThrough|CCached IO|DDirect IO|sCCScheduled Check Consistency/string/list/output查看物理硬盘信息与状态[rootlocalhost:/opt/storcli/bin]./storcli64 /c0 /eall /sall show?xmlversion1.0?output xmlns:esxclistorclilisttypestringstringCLI Version007.3703.0000.0000 Jan16,2026Operating systemVMkernel8.0.3 Controller0StatusSuccess DescriptionShow 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 - ------------------------------------------------------------------------------EIDEnclosure Device ID|SltSlot No|DIDDevice ID|DGDriveGroupDHSDedicated Hot Spare|UGoodUnconfigured Good|GHSGlobal HotspareUBadUnconfigured Bad|SntzeSanitize|OnlnOnline|OfflnOffline|IntfInterfaceMedMedia Type|SEDSelf Encryptive Drive|PIPI EligibleSeSzSector Size|SpSpun|UUp|DDown|TTransition|FForeignUGUnspUGood Unsupported|UGShldUGood shielded|HSPShldHotspare shieldedCFShldConfigured shielded|CpybckCopyBack|CBShldCopyback ShieldedUBUnspUBad Unsupported|RbldRebuild/string/list/output查看硬盘错误信息[rootlocalhost:/opt/storcli/bin]./storcli64 /c0/eall/sall show all|grep-EMedia Error|Predictive Failure|Firmware stateMedia Error Count0Predictive Failure Count0Last Predictive Failure Event Sequence Number0Media Error Count0Predictive Failure Count0Last Predictive Failure Event Sequence Number0Media Error Count0Predictive Failure Count0Last Predictive Failure Event Sequence Number0Media Error Count0Predictive Failure Count0Last Predictive Failure Event Sequence Number0Media Error Count0Predictive Failure Count0Last Predictive Failure Event Sequence Number0Media Error Count0Predictive Failure Count0Last Predictive Failure Event Sequence Number0Media Error Count0Predictive Failure Count0Last Predictive Failure Event Sequence Number0Media Error Count0Predictive Failure Count0Last Predictive Failure Event Sequence Number0
RELATED READING

延伸阅读

更多一线实战笔记与深度复盘,助您持续精进