This post show installation of MegaCli (ServeRAID MR 10 k SAS/SATA
Controller client) and two basic commands
1. Installation
Get ServeRAID CD and extract the file MegaCli-X.XX.XX-Y.i386.rpm.
Install using the rpm command
` # rpm -ivh rpms/MegaCli-3.00.07-1.i386.rpm Preparing...
[100%] 1:MegaCli
##################################### [100%]`
Listing the installed files with rpm command
# rpm -ql MegaCli /opt/MegaRAID/MegaCli/MegaCli
/opt/MegaRAID/MegaCli/MegaCli64
2. Basic commands
a. Listing All informations
` # /opt/MegaRAID/MegaCli/MegaCli-AdpAllInfo -aALL Adapter #0
- Versions ================ Product Name : IBM ServeRAID-MR10k SAS/SATA
- Controller Serial No : KNNNNNNNNN FW Package Build: 8.0.1-0036
- Mfg. Data ================ Mfg. Date : 07/06/04 Rework Date
-
- 00/00/00 Revision No : Battery FRU : N/A Image Versions In
- Flash: ================ FW Version : 1.12.152-0440 BIOS
- Version : NT16 WebBIOS Version : 1.1-33e-e_11-Rel Ctrl-R
- Version : 1.01-010B Preboot CLI Version: 01.00-011:#%00001 Boot
- Block Version : 1.00.00.01-0011 Pending Images In Flash ================
- None PCI Info ================ Vendor Id : 1000 Device Id
-
- 0060 SubVendorId : 1014 SubDeviceId : 0363 Host Interface :
- PCIE Number of Frontend Port: 0 Device Interface : PCIE Number of
- Backend Port: 8 Port :
- Address 0 5000c5000c627be9 1 5000c5000ca68091 2 5000c5000c60f9a1 3 5000c5000123bce1 4 0000000000000000 5 0000000000000000 6 0000000000000000 7 0000000000000000
- HW Configuration ================ SAS Address : 5005076b08028540
- BBU : Present Alarm : Present NVRAM :
- Present Serial Debugger : Present Memory : Present
- Flash : Present Memory Size : 256MB
- TPM : Absent Settings ================ Current
- Time : 14:56:28 1/9, 2009 Predictive Fail Poll
- Interval : 300sec Interrupt Throttle Active Count : 16 Interrupt
- Throttle Completion : 50us Rebuild Rate : 30% PR
- Rate : 30% Resynch Rate
-
- 30% Check Consistency Rate : 30% Reconstruction
- Rate : 30% Cache Flush Interval : 4s
- Max Drives to Spinup at One Time : 2 Delay Among Spinup Groups
-
- 12s Physical Drive Coercion Mode : 1GB Cluster
- Mode : Disabled
- Alarm : Enabled Auto
- Rebuild : Enabled Battery Warning
-
- Enabled Ecc Bucket Size : 15 Ecc Bucket Leak
- Rate : 1440 Minutes Restore HotSpare on Insertion :
- Disabled Expose Enclosure Devices : Enabled Maintain PD Fail
- History : Enabled Host Request Reordering : Enabled
- Auto Detect BackPlane Enabled : SGPIO/i2c SEP Load Balance
- Mode : Auto Use FDE Only : No
- Security Key Assigned : No Security Key Failed :
- No Security Key Not Backedup : No Any Offline VD Cache
- Preserved : No Capabilities ================ RAID Level
- Supported : RAID0, RAID1, RAID5, RAID6, RAID10, RAID50,
- RAID60 Supported Drives : SAS, SATA Allowed Mixing: Mix
- In Enclosure Allowed Status ================ ECC Bucket
- Count : 0 Limitations ================ Max
- Arms Per VD : 32 Max Spans Per VD : 8 Max
- Arrays : 128 Max Number of VDs : 64 Max
- Parallel Commands : 1008 Max SGE Count : 80 Max Data
- Transfer Size : 8192 sectors Max Strips PerIO : 42 Min Stripe
- Size : 8kB Max Stripe Size : 1024kB Device Present
- ================ Virtual Drives : 1 Degraded : 0
- Offline : 0 Physical Devices : 5 Disks : 4
- Critical Disks : 0 Failed Disks : 0 Supported Adapter Operations
- ================ Rebuild Rate : Yes CC
- Rate : Yes BGI
- Rate : Yes Reconstruct
- Rate : Yes Patrol Read Rate : Yes
- Alarm Control : Yes Cluster Support :
- No BBU : Yes Spanning
-
- Yes Dedicated Hot Spare : Yes Revertible Hot
- Spares : No Foreign Config Import : Yes Self
- Diagnostic : Yes Allow Mixed Redundancy on Array : No
- Global Hot Spares : Yes Deny SCSI Passthrough :
- No Deny SMP Passthrough : No Deny STP Passthrough
-
- No Support Security : No Supported VD Operations
- ================ Read Policy : Yes Write Policy : Yes
- IO Policy : Yes Access Policy : Yes Disk Cache
- Policy : Yes Reconstruction : Yes Deny Locate : No
- Deny CC : No Allow Ctrl Encryption: No Supported PD
- Operations ================ Force Online :
- Yes Force Offline : Yes Force
- Rebuild : Yes Deny Force
- Failed : No Deny Force
- Good/Bad : No Deny Missing
- Replace : No Deny
- Clear : No Deny
- Locate : No Disable
- Copyback : No Enable Copyback on
- SMART : No Enable Copyback to SSD on SMART error : No
- Error Counters ================ Memory Correctable Errors : 0 Memory
- Uncorrectable Errors : 0 Cluster Information ================ Cluster
- Permitted : No Cluster Active : No Default Settings
- ================ Phy Polarity : 0 Phy
- PolaritySplit : 0 Background Rate : 30
- Stripe Size : 128kB Flush
- Time : 4 seconds Write
- Policy : WB Read Policy : None
- Cache When BBU Bad : Disabled Cached
- IO : No SMART
- Mode : Mode 6 Alarm
- Disable : Yes Coercion
- Mode : 1GB ZCR
- Config : Unknown Dirty LED Shows
- Drive Activity : No BIOS Continue on Error : No Spin Down
- Mode : None Allowed Device Type :
- SAS/SATA Mix Allow Mix In Enclosure : Yes Allow HDD SAS/SATA
- Mix In VD : No Allow SSD SAS/SATA Mix In VD : No Allow HDD/SAS
- Mix In VD : No Allow SATA In Cluster : No Max
- Chained Enclosures : 16 Disable Ctrl-R : Yes
- Enable Web BIOS : Yes Direct PD Mapping
- No BIOS Enumerate VDs : Yes Restore Hot Spare on Insertion : No Expose Enclosure Devices : Yes Maintain PD Fail History : Yes Disable Puncturing : Yes Zero Based Enclosure Enumeration : No PreBoot CLI Enabled : Yes LED Show Drive Activity : No Cluster Disable : Yes SAS Disable : No Auto Detect BackPlane Enable : SGPIO/i2c SEP Use FDE Only : No Delay during POST : 0 Exit Code: 0x00`
b. Show rebuild details from disks
# /opt/MegaRAID/MegaCli/MegaCli -PDRbld -ShowProg -PhysDrv [0:0] -aALL
Device(Encl-0 Slot-0) is not in rebuild process Exit Code: 0x00
# /opt/MegaRAID/MegaCli/MegaCli -PDRbld -ShowProg -PhysDrv [0:1] -aALL
Device(Encl-0 Slot-1) is not in rebuild process Exit Code: 0x00
# /opt/MegaRAID/MegaCli/MegaCli -PDRbld -ShowProg -PhysDrv [0:2] -aALL
Device(Encl-0 Slot-2) is not in rebuild process Exit Code: 0x00
# /opt/MegaRAID/MegaCli/MegaCli -PDRbld -ShowProg -PhysDrv [0:3] -aALL
Device(Encl-0 Slot-3) is not in rebuild process Exit Code: 0x00
Comments !