如何使用 MEgaRaid 了解任何虚拟磁盘 LSI RAID 的硬盘成员

abk*_*rim 2 raid shell megacli

我得到一台带有 LSI MEgarad 卡的机器。我知道虚拟磁盘有什么:

Adapter: 0
Product Name: LSI MegaRAID SAS 9260-4i
Memory: 512MB
BBU: Absent
Serial No: SV11807006
==============================================================================
Number of DISK GROUPS: 3
Run Code Online (Sandbox Code Playgroud)

但我不知道每个虚拟磁盘(0、1、2)上都有哪些磁盘,哪些磁盘是 HotSpare ......

 MegaCli -LDInfo -Lall -aAll


 Adapter 0 -- Virtual Drive Information:
 Virtual Disk: 0 (Target Id: 0)
 Name:
 RAID Level: Primary-5, Secondary-0, RAID Level Qualifier-3
 Size:16.371 TB
 State: Optimal
 Stripe Size: 64 KB
 Number Of Drives per span:3
 Span Depth:3
 ....
 Check Consistency        : Completed 46%, Taken 254 min.

 Virtual Disk: 1 (Target Id: 1)
 Name:
 RAID Level: Primary-0, Secondary-0, RAID Level Qualifier-0
 Size:2.728 TB
 State: Optimal
 Stripe Size: 64 KB
 Number Of Drives:1
 Span Depth:1

 Virtual Disk: 2 (Target Id: 2)
 Name:
 RAID Level: Primary-0, Secondary-0, RAID Level Qualifier-0
 Size:2.728 TB
 Stripe Size: 64 KB
 Number Of Drives:1
 Span Depth:1
Run Code Online (Sandbox Code Playgroud)

我正在寻找 MegaCli 的命令来了解每个虚拟磁盘的磁盘映射

谢谢

小智 6

此命令将列出每个虚拟驱动器,然后是作为该虚拟驱动器成员的每个物理磁盘。

MegaCli64 -LdPdInfo -aAll
Run Code Online (Sandbox Code Playgroud)