Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

i get a machine with a LSI MEgarad card. I know what Virtual Diska has:

Adapter: 0
Product Name: LSI MegaRAID SAS 9260-4i
Memory: 512MB
BBU: Absent
Serial No: SV11807006
==============================================================================
Number of DISK GROUPS: 3

But i don't know wat disk are on each Virtual disk (0,1,2) and what disk are 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

I looking for a command of MegaCli for know map of Disk of every Virtual Disk

Thanks

share|improve this question
    
megactl is much easier to use and will give you the information you are looking for without parsing MegaCli's convoluted help output - sourceforge.net/projects/megactl –  jordanm Jun 26 '12 at 4:58

2 Answers 2

This command will list each virtual drive followed by each physical disk which is a member of that virtual drive.

MegaCli64 -LdPdInfo -aAll
share|improve this answer

./Megacli -help would fetch you all the options with which you can check the controller details.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.