General Parameters; Command Syntax - Cisco UCS C220 M3 Configuration Manual

Rack servers
Hide thumbs Also See for UCS C220 M3:
Table of Contents

Advertisement

General Parameters

Following are some general parameters for MegaCLI:
Adapter parameter –aN
The parameter –aN, where N is a number starting with zero or the string ALL, specifies the adapter ID. If
you have only one controller, you can safely use ALL instead of a specific ID, but you're encouraged to use
the ID for anything that makes changes to your RAID configuration.
Physical drive parameter –PhysDrv[E:S]
For commands that operate on one or more physical drives, the parameter –PhysDrv[E: S] is used, where E
is the enclosure device ID in which the drive resides, and S is the slot number (stating with 0). The
enclosure device ID can be determined by using the command MegaCli –Enclinfo –aALL. The [E: S]
syntax is also used to specify the physical drives when you create a new RAID virtual drive
Virtual drive parameter –Lx
The parameter –Lx is used for specifying the virtual drive, where x is a number starting with 0 or the string
ALL.

Command Syntax

This section presents the syntax for common MegaCLI commands.
Commands to Get Information
Controller information:
MegaCli –AdpAllInfo –aALL
MegaCli –CfgDsply –aALL
MegaCli –adpeventlog –getevents –f lsi-events.log –a0 –nolog
Enclosure information:
MegaCli –EncInfo –aALL
Virtual drive information:
MegaCli –LDInfo –Lall –aAll
Physical drive information:
MegaCli –PDList –aAll
MegaCli –PDInfo –PhysDrv [E: S] –aALL
Commands for Virtual Drive Management
Create a RAID volume based on a single drive group (RAID 0, RAID 1, or RAID 5):
MegaCli –CfgLdAdd –r (#raid level#) [E: S] –aN
Create a RAID volume based on double drive groups (RAID 10 or RAID 50):
MegaCli –CfgSpanAdd –r (#Raid level#) –Array0 [E: S, E: S] –Array1 [E: S, E: S] –aN
Figure 13 shows the creation of a double-drive-group RAID volume.
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 31 of 33

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ucs c240 m3

Table of Contents