24
About the Command Line Interface
Formatting Considerations
Quotation marks (" ") used as part of a name or label require special
consideration when you run the CLI and script commands on a Microsoft
®
Windows
®
operating system. The following explains the use of quotation
marks in names while running CLI and script commands on Windows.
When quotation marks (" ") are part of an argument, you must insert a
backslash (\) before each quotation mark character unless you are in
interactive mode. For example:
-c "set storageArray userLabel=\"Engineering\";"
where
Engineering
is the storage array name.
You cannot use quotation marks (" ") as part of a character string (also called
string literal
) within a script command. For example, you cannot enter the
following string to set the storage array name to
"Finance"Array
:
-c "set storageArray userLabel=
\"\"Finance\"Array\";"
On a Linux operating system, the delimiters around names or labels are single
quotation marks (‘ ’). The Linux versions of the previous examples are:
-c ‘set storageArray userLabel="Engineering";’
Detailed Error Reporting
Error data collected from an error encountered by the CLI is written to a file.
Detailed error reporting under the CLI works as follows:
•
If the CLI must abnormally end execution or abort script command
execution, error data is collected and saved before the CLI aborts.
•
The CLI automatically saves the error data by writing the data to a file
with a standard name.
•
The CLI does not have any provisions to avoid overwriting an existing
version of the file containing error data.
For error processing, errors appear as two types:
•
Parameter or syntax errors you might enter
•
Exceptions that occur as a result of an operational error
Содержание PowerVault MD3000i
Страница 12: ...12 Contents ...
Страница 42: ...42 About the Script Commands ...
Страница 90: ...90 Using the Virtual Disk Copy Feature ...
Страница 104: ...104 Maintaining a Storage Array ...
Страница 222: ...222 Script Commands ...
Страница 228: ...228 Sample Script Files ...
Страница 236: ...236 Index ...