1 megacli ct overview, 2 exception handling, Megacli ct overview – MSI X2-109 v1 User Manual

Page 54: Exception handling, Section 4.1, “megacli ct overview, Section 4.2, “exception handling

Advertising
background image

4-2

MegaCLI Command Tool

Version 2.0

Copyright © 2006 by LSI Logic Corporation. All rights reserved.

4.1

MegaCLI CT Overview

MegaCLI CT and MegaDCLI CT are command line interface applications
you can use to configure and manage storage configurations under
Embedded MegaRAID Software. You can use these command tools to
perform the following tasks:

Configure logical drives and create configurations on the adapter

Display the configuration on the adapter

Display and change logical drive’s properties on the adapter

Display and change physical drive’s properties on the adapter

Display and change adapter properties

Load a configuration to the adapter from a file

Save an adapter configuration to a file

Start or stop rebuild, consistency check, and initialization

Suspend and display an ongoing background initialization

Display relevant user messages on the console or write them to the
log file

Work in silent mode, if selected (no messages are displayed on the
console)

Display adapter inventory data in a single command

Customize output strings

Exit with predefined success or failure exit codes

Set some predefined environment variables, such as number of
adapters and number of logical drives after the execution of CT

Display help on how to use the command line options of CT

4.2

Exception Handling

MegaCLI CT exits with exit code 0 for all successful operations. In case
of failure, it exits with exit code 1 to 255, depending on the failure
conditions. For example, assume that a rebuild is started on three
physical drives. MegaCLI CT successfully starts rebuilding the first drive

Advertising