User Tools

Site Tools


computers:megaraid_megacli

This is an old revision of the document!


Table of Contents

MegaRAID MegaCli

MegaCli is a command line tool provided by MegaRAID to configure/monitor their hardware RAID controllers. Currently all hard drives on Oak are controlled by a MegaRAID SAS 8708EM2 w/ 256Mb RAM.

Installation

MegaCli is available as a RPM for RedHat Linux. For installation on Ubuntu

masker is working on this part

Usage

A quick reference sheet can be found at http://tools.rapidsoft.de/perc/perc-cheat-sheet.html

Some commonly used commands:

To see all adapter info:

sudo /opt/MegaRAID/MegaCli/MegaCli64 -AdpAllInfo -aALL

To see configuration info:

sudo /opt/MegaRAID/MegaCli/MegaCli64 -CfgDsply -aALL

To check rebuild progress (the example here is for checking physical drive in enclosure 252, slot 7, adapter 0):

sudo /opt/MegaRAID/MegaCli/MegaCli64 -PDRbld -ShowProg -PhysDrv [252:7] -a0
computers/megaraid_megacli.1277887131.txt.gz · Last modified: 2010/06/30 16:38 by chkuo