본문 바로가기

카테고리 없음

Megacli For Vmware

.LSI Corp.

Megacli For VmwareMegacli For VmwareMegacli

MegaCLI cheatsheetRecently I’ve had to do extensive work with Dell PowerEdge servers, and specifically Dell’s that use the LSI MegaRAID controllers. 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. MegaCli is available for Linux, DOS, Windows, Netware and Solaris. You can get it from LSI’s website (search for MegaRAID SAS).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).Please note:This emergency cheat sheet is not exhaustive, but it should be sufficient in most cases. For a complete reference either call MegaCli -h or refer to the manual at:While there are a lot of different parameters for MegaCli, some of them are always identical.

Megacli Vmware 6.0

These are described here in short.Adapter parameter -aNThe parameter -aN (where N is a number starting with zero or the string ALL) specifies the PERC5/i adapter ID. 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.Physical drive parameter -PhysDrv E:SFor commands that operate on one or more pysical drives, the -PhysDrv E:S parameter is used, where E is the enclosure device ID in which the drive resides and S the slot number (starting with zero). You can get the enclosure device ID using “MegaCli -EncInfo -aALL”. Thanks a lot!!! Work for me in Linux, great job this page 🙂root@DBS1 MegaCli# pwd/opt/MegaRAID/MegaCliroot@DBS1 MegaCli# rpm -qa grep MegaMegaCli-8.07.10-1.noarchroot@DBS1 MegaCli# cat /etc/redhat-releaseRed Hat Enterprise Linux Server release 6.1 (Santiago)root@DBS1 MegaCli# uname -aLinux DBS1 2.6.32-100.34.1.el6uek.x8664 #1 SMP Wed May 25 17:46:45 EDT 2011 x8664 x8664 x8664 GNU/Linuxroot@DBS1 MegaCli# lspci grep RAID50:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 2108 Liberator (rev 05). There’s another MegaCli cheat sheet here: with some additional, and extremely useful examples.