About the Command Line Interface
25
When the CLI encounters either type of error, it writes information
describing the error directly to the command line and sets a return code.
Depending on the return code, the CLI might also write additional
information about which parameter caused the error. The CLI also writes
information about what command syntax was expected to help you identify
any syntax errors you might have entered.
When an exception occurs while executing a command, the CLI
automatically saves the error information to a file named
excprpt.txt
. The
CLI attempts to place
excprpt.txt
in the directory specified by the system
property
devmgr.datadir
, which by default is the "client/data" directory under
the main installation directory in Windows and the
/var/opt/SM
directory in
Linux. If for any reason the CLI cannot place the file in the
devmgr.datadir
-
specified directory, the CLI saves the
excprpt.txt
file in the same directory
from which the CLI is running. You cannot change the file name or location.
The
excprpt.txt
file is overwritten every time an exception occurs. To save the
information in the
excprpt.txt
file, you must to copy the information to a new
file or directory.
Exit Status
After you run a CLI command or a CLI and script command, status is
displayed that indicates the success of the operation defined by the
command. The status values are shown in Table 1-3.
Table 1-3. Exit Status
Status Value
Meaning
0
The command terminated without an error.
1
The command terminated with an error. Error information is
also displayed.
2
The script file does not exist.
3
An error occurred while opening an output file.
4
A storage array is not at the specified address.
5
Addresses specify different storage arrays.
6
A storage array name does not exist for the host agent connected.
7
The storage array name was not at the specified address.
book.book Page 25 Friday, March 4, 2011 10:45 AM
Summary of Contents for PowerVault MD3200 Series
Page 1: ...Dell PowerVault Modular Disk Storage Arrays CLI Guide ...
Page 42: ...42 About the Script Commands ...
Page 263: ...Script Commands 263 ...
Page 269: ...268 Sample Script Files ...
Page 271: ...270 CLI Command Updates ...
Page 279: ...Index 278 ...