我有一台带 LSI MEgarad 卡的机器。我知道 Virtual Diska 有什么:
Adapter: 0
Product Name: LSI MegaRAID SAS 9260-4i
Memory: 512MB
BBU: Absent
Serial No: SV11807006
==============================================================================
Number of DISK GROUPS: 3
但我不知道每个虚拟磁盘(0,1,2)上有哪些磁盘以及哪些磁盘是热备用磁盘...
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
我正在寻找 MegaCli 命令来了解每个虚拟磁盘的磁盘映射
谢谢
答案1
此命令将列出每个虚拟驱动器,后面跟着属于该虚拟驱动器的每个物理磁盘。
MegaCli64 -LdPdInfo -aAll
答案2
在 Linux 中:查找所有逻辑驱动器,并通过机箱设备 ID/插槽号报告其物理磁盘:
# megacli -LdPdInfo -aAll | egrep "^Adapter|^Number of Virtual|^Virtual Drive:|^Name|^Enclosure Device ID:|^Slot Number:"
...与所有驱动器进行比较,显示其适配器、机箱设备 ID 和插槽号:
# megacli -PDList -aALL | egrep 'Adapter|Enclosure Device ID:|Slot'