248
Configuration Script Example 1
show “Setting additional attributes for volume 7”;
//Configuration settings that cannot be set during
volume
creation
set volume[“7”] cacheFlushModifier=10;
set volume[“7”] cacheWithoutBatteryEnabled=false;
set volume[“7”] mirrorEnabled=true;
set volume[“7”] readCacheEnabled=true;
set volume[“7”] writeCacheEnabled=true;
set volume[“7”] mediaScanEnabled=false;
set volume[“7”] redundancyCheckEnabled=false;
set volume[“7”] modificationPriority=high;
This example shows blank lines between the lines beginning with
Show
,
Create
,
//Note
, and
create
. The blank lines are included in this example only for clarity.
Each command is actually written on one line in the script file; however, the size of
this page has caused the command text to wrap. You might want to include blank lines
in your script files to separate blocks of commands or make a comment that stands
out. To include a comment, enter two forward slashes (
//
), which causes the Script
Engine to treat the line as a comment.
The first line of text is the
show string
command. This command shows text that
is bounded by double quotation marks (“ ”) on a display monitor when the script file
runs. In this example, the text
Create RAID 5 Volume 7 on existing
Volume Group 1
serves as a title that describes the expected results of running
this script file.
The line beginning with
//Create
is a comment that explains that the purpose of
this script file is to create a new volume by using the
create volume
command on
an existing volume group.
The line beginning
//Note:
is a comment in the script file that explains that the size
of the last volume created that uses all of the available capacity because the
capacity
parameter is not used.
The command in this example creates a new volume in volume group 1. The volume
has RAID Level 5. The volume name (user label) is 7. (Note the double quotation
marks around the 7. The double quotation marks define that the information in the
double quotation marks is a label.) The new volume is assigned to the controller in
slot A in the controller tray. The segment size is set to 16. The volume has a read
ahead multiplier value of 256. The capacity of the volume is 2 GB.
The command takes this form:
Содержание 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 ...