16
Formatting Rules for Script Commands
Insert one caret (^) before each special script character when used within a string
literal in a script command. For example, to change the name of a storage array to
FINANCE_|_PAYROLL, enter the following string:
-c "set storageArray
userLabel=\"FINANCE_^|_PAYROLL\";"
Formatting
Rules for Script
Commands
Syntax unique to a specific script command is explained in the Notes section at the
end of each script command description.
Case sensitivity
– The script commands are not case sensitive. You can type the script
commands in lowercase, uppercase, or mixed case. (In the following command
descriptions, mixed case is used as an aid to reading the command names and
understanding the purpose of the command.)
Spaces
– You must enter spaces in the script commands as they are shown in the
command descriptions.
Square brackets
– Square brackets are used in two ways:
As part of the command syntax.
To indicate that the parameters are optional. The description of each parameter
tells you if you need to enclose a parameter value in square brackets.
Parentheses
– Parentheses shown in the command syntax enclose specific choices for
a parameter. That is, if you want to use the parameter, you must enter one of the
values enclosed in parentheses. Generally, you do not include parentheses in a script
command; however, in some instances, when you enter lists, you must enclose the list
in parentheses. Such a list might be a list of tray ID values and slot ID values. The
description of each parameter tells you if you need to enclose a parameter value in
parentheses.
Vertical bars
– Vertical bars in a script command indicate “or” and separate the valid
values for the parameter. For example, the syntax for the
raidLevel
parameter in
the command description appears as follows:
raidLevel=(0 | 1 | 3 | 5 | 6)
To use the
raidLevel
parameter to set RAID Level 5, enter this value:
raidLevel=5
Drive locations
– The CLI commands that identify drive locations support both
high-capacity drive trays and low-capacity drive trays. A high-capacity drive tray has
drawers that hold the drives. The drawers slide out of the drive tray to provide access
to the drives. A low-capacity drive tray does not have drawers. For a high-capacity
drive tray, you must specify the identifier (ID) of the drive tray, the ID of the drawer,
and the ID of the slot in which a drive resides. For a low-capacity drive tray, you need
only specify the ID of the drive tray and the ID of the slot in which a drive resides. For
a low-capacity drive tray, an alternative method for identifying a location for a drive is
Содержание InfiniteStorage 4000 Series
Страница 34: ...22 ExitStatus ...
Страница 48: ...36 Adding Comments to a Script File ...
Страница 110: ...98 Starting Stopping and Resuming a Snapshot Legacy Rollback ...
Страница 168: ...156 Interaction with Other Premium Features ...
Страница 182: ...170 Interaction with Other Premium Features ...
Страница 192: ...180 SSD Cache Management Tasks ...
Страница 216: ...204 RecoveryOperations ...
Страница 218: ...206 Show Storage Array ...
Страница 219: ...Appendix A Examples of Information Returned by the Show Commands 207 ...
Страница 220: ...208 Show Storage Array ...
Страница 221: ...Appendix A Examples of Information Returned by the Show Commands 209 ...
Страница 222: ...210 Show Storage Array ...
Страница 223: ...Appendix A Examples of Information Returned by the Show Commands 211 ...
Страница 224: ...212 Show Storage Array ...
Страница 225: ...Appendix A Examples of Information Returned by the Show Commands 213 ...
Страница 226: ...214 Show Storage Array ...
Страница 227: ...Appendix A Examples of Information Returned by the Show Commands 215 ...
Страница 228: ...216 Show Storage Array ...
Страница 229: ...Appendix A Examples of Information Returned by the Show Commands 217 ...
Страница 230: ...218 Show Storage Array ...
Страница 231: ...Appendix A Examples of Information Returned by the Show Commands 219 ...
Страница 233: ...Appendix A Examples of Information Returned by the Show Commands 221 ...
Страница 234: ...222 Show Controller NVSRAM ...
Страница 252: ...240 ShowDrive Show Drive The show drive command returns information about the drives in a storage array ...
Страница 253: ...Appendix A Examples of Information Returned by the Show Commands 241 ...
Страница 254: ...242 ShowDrive ...
Страница 255: ...Appendix A Examples of Information Returned by the Show Commands 243 ...
Страница 256: ...244 ShowDrive ...
Страница 257: ...Appendix A Examples of Information Returned by the Show Commands 245 ...
Страница 258: ...246 ShowDrive ...
Страница 268: ...256 ConfigurationUtility ...
Страница 275: ......
Страница 276: ...Copyright 2012 NetApp Inc All rights reserved ...