HUAWEI IBMC CLI命令查RAID与硬盘信息
2026/6/19 14:03:48 网站建设 项目流程

概述

解决批量获取服务器设备信息问题,记录命令如下

命令

查询物理硬盘详细信息

  1. 查询全部信息
iBMC:/->ipmcget-tstorage-dpdinfo-vall Physical Drive Information ---------------------------------------------------------------------- ID:0Device Name:Disk0 Manufacturer:TOSHIBA Serial Number:35S0A00ZFRD4 Model:AL13SEB600 Firmware Version:DE11 Health Status:Normal Firmware State:ONLINE Power State:Spun Up Media Type:HDD Interface Type:SAS Interface Speed:6.0Gbps Link Speed:12.0Gbps Drive Temperature:37(Celsius)Capacity:557.861GB Hot Spare:None RebuildinProgress:No Patrol ReadinProgress:No Remnant Media Wearout:N/A SAS Address(0):500003962830cc4e SAS Address(1):0000000000000000 Location State:Off Media Error Count:0Prefail Error Count:0Other Error Count:0---------------------------------------------------------------------- Physical Drive Information ---------------------------------------------------------------------- ID:1Device Name:Disk1 Manufacturer:IBM-ESXS Serial Number:S0M2VANP1118B5C3 Model:ST600MM0006 Firmware Version:B56K Health Status:Normal Firmware State:ONLINE Power State:Spun Up Media Type:HDD Interface Type:SAS Interface Speed:6.0Gbps Link Speed:12.0Gbps Drive Temperature:36(Celsius)Capacity:557.861GB Hot Spare:None RebuildinProgress:No Patrol ReadinProgress:No Remnant Media Wearout:N/A SAS Address(0):5000c5007655b3d5 SAS Address(1):0000000000000000 Location State:Off Media Error Count:0Prefail Error Count:0Other Error Count:0----------------------------------------------------------------------

查询磁盘阵列信息

iBMC:/->ipmcget-tstorage-darrayinfo-v0all Disk Array Information ---------------------------------------------------------------------- Array ID:0Used Space:1.090TB Free Space:0MB Logcial Drive(s)ID:0Physical Drive(s)ID:0,1---------------------------------------------------------------------- Disk Array Information ---------------------------------------------------------------------- Array ID:1Used Space:3.269TB Free Space:0MB Logcial Drive(s)ID:1Physical Drive(s)ID:2,4,3,5,6,7 ----------------------------------------------------------------------

查询RAID虚拟磁盘信息 (ldinfo)

iBMC:/->ipmcget-tstorage-dldinfo-v0all Logical Drive Information ---------------------------------------------------------------------- Target ID:0Name:N/A Type:RAID1 State:Optimal Default Read Policy:Read Ahead Default Write Policy:Write Back with BBU Default Cache Policy:Direct IO Current Read Policy:Read Ahead Current Write Policy:Write Back with BBU Current Cache Policy:Direct IO Access Policy:Read Write Span depth:1Number of drives per span:2Strip Size:256KB Total Size:557.861GB Disk Cache Policy:Disk's Default Init State : No Init Consistency Checking : No BGI Enabled : Yes Bootable : Yes Used for Secondary Cache : No OS Letter : N/A SSCD Caching Enable : No PD participating in LD (ID#) : 0,1 Dedicated Hot Spare PD (ID#) : N/A ---------------------------------------------------------------------- Logical Drive Information ---------------------------------------------------------------------- Target ID : 1 Name : N/A Type : RAID5 State : Optimal Default Read Policy : Read Ahead Default Write Policy : Write Back with BBU Default Cache Policy : Direct IO Current Read Policy : Read Ahead Current Write Policy : Write Back with BBU Current Cache Policy : Direct IO Access Policy : Read Write Span depth : 1 Number of drives per span : 6 Strip Size : 256 KB Total Size : 2.724 TB Disk Cache Policy : Disk's Default Init State:No Init Consistency Checking:No BGI Enabled:Yes Bootable:No UsedforSecondary Cache:No OS Letter:N/A SSCD Caching Enable:No PD participatinginLD(ID#) : 2,4,3,5,6,7Dedicated Hot Spare PD(ID#) : 8----------------------------------------------------------------------

需要专业的网站建设服务?

联系我们获取免费的网站建设咨询和方案报价,让我们帮助您实现业务目标

立即咨询