This changes drive in state Unconfigured-Bad to Unconfigured-Good. MegaCli -PDClear -ShowProg -PhysDrv -aNīad to good (or back to good as I like to call it) The number N of the array parameter is the Span Reference you get using “MegaCli -CfgDsply -aALL” and the number N of the row parameter is the Physical Disk in that span or array starting with zero (it’s not the physical disk’s slot!). MegaCli -PdReplaceMissing -PhysDrv -ArrayN -rowN -aN MegaCli -AdpEventLog -GetEvents -f events.log -aALL & cat events.log The parameter -Lx is used for specifying the virtual drive (where x is a number starting with zero or the string all). The E:S syntax is also used for specifying the physical drives when creating a new RAID virtual drive. ![]() You can get the enclosure device ID using “MegaCli -EncInfo -aALL”. If you have only one controller it’s safe to use ALL instead of a specific ID, but you’re encouraged to use the ID for everything that makes changes to your RAID configuration.įor commands that operate on one or more pysical drives, the -PhysDrv parameter is used, where E is the enclosure device ID in which the drive resides and S the slot number (starting with zero). The utility is supported on PERC Series 8 and newer family controllers on host running Windows, Linux, or ESXi. The parameter -aN (where N is a number starting with zero or the string ALL) specifies the PERC5/i adapter ID. This article explains how to download, install, and use the Dell EMC PowerEdge RAID Controller (PERC) Command Line Interface (CLI) utility to manage your RAID controller. While there are a lot of different parameters for MegaCli, some of them are always identical. Firmware state: Online, Spun Up Inquiry Data: PK2361PAGB31UWHitachi HUS724040ALE640 MJAOA3B0 Firmware state: Online, Spun Up. 'status' followed by the disk serial, model, and firmware info. For a complete reference either call MegaCli -h or refer to the manual at: LSI replaced MegaCli with StorCLI / StorCLI64. ![]() This emergency cheat sheet is not exhaustive, but it should be sufficient in most cases. Inside the tarball or zip file you’ll find an RPM archive which contains the MegaCli and MegaCli64 binaries (will be installed to /opt/MegaRAID/MegaCli). LSI replaced MegaCli with StorCLI / StorCLI64 and some command syntax has changed. You can get it from LSI’s website (search for MegaRAID SAS). Using the MegaCli64 utility you can find a lot of info about the RAID adapters and disks. MegaCli is available for Linux, DOS, Windows, Netware and Solaris. Anyone who has ever had to work with the LSI RAID controllers knows that the MegaCLI provided by LSI is the most cryptic command line utility in existence. Recently I’ve had to do extensive work with Dell PowerEdge servers, and specifically Dell’s that use the LSI MegaRAID controllers.
0 Comments
Leave a Reply. |