250
Configuration Script Example 2
Configuration
Script
Example 2
This example creates a new volume by using the
create volume
command with
user-defined drives in the storage array.
Show “Create RAID3 Volume 2 on existing Volume Group
2”;
//This command creates the volume group and the
initial volume on that group.
//Note: For volume groups that use all available
capacity, the last volume
on the volume group is created using all remaining
capacity by omitting the
capacity=volume creation parameter
create volume RAIDLevel=3 userLabel=”2” drives=[0,1
0,6 1,7 1,3 2,3 2,6]
owner=B segmentSize=16 capacity=2GB;
show “Setting additional attributes for voluem 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”] redundantCheckEnabled=false;
set volume [“7”] modificationPriority=high;
The command in this example, like the
create volume
command in the previous
example, creates a new volume. The significant difference between these two
examples is that this example shows how you can define specific drives to include in
the volume. Use the
show storageArray profile
command to find out what
drives are available in a storage array.
The
create volume
command takes this form:
create volume raidLevel=(0 | 1 | 3 | 5 | 6)
userLabel=
volumeName
drives=(trayID1,slotID1...
trayIDn
,
slotIDn
)
[capacity=
volumeCapacity
| owner=(a | b) |
cacheReadPrefetch=(TRUE | FALSE) |
segmentSize=
segmentSizeValue
]
[trayLossProtect=(TRUE | FALSE)]
Summary of Contents for InfiniteStorage 4000 Series
Page 34: ...22 ExitStatus ...
Page 48: ...36 Adding Comments to a Script File ...
Page 110: ...98 Starting Stopping and Resuming a Snapshot Legacy Rollback ...
Page 168: ...156 Interaction with Other Premium Features ...
Page 182: ...170 Interaction with Other Premium Features ...
Page 192: ...180 SSD Cache Management Tasks ...
Page 216: ...204 RecoveryOperations ...
Page 218: ...206 Show Storage Array ...
Page 219: ...Appendix A Examples of Information Returned by the Show Commands 207 ...
Page 220: ...208 Show Storage Array ...
Page 221: ...Appendix A Examples of Information Returned by the Show Commands 209 ...
Page 222: ...210 Show Storage Array ...
Page 223: ...Appendix A Examples of Information Returned by the Show Commands 211 ...
Page 224: ...212 Show Storage Array ...
Page 225: ...Appendix A Examples of Information Returned by the Show Commands 213 ...
Page 226: ...214 Show Storage Array ...
Page 227: ...Appendix A Examples of Information Returned by the Show Commands 215 ...
Page 228: ...216 Show Storage Array ...
Page 229: ...Appendix A Examples of Information Returned by the Show Commands 217 ...
Page 230: ...218 Show Storage Array ...
Page 231: ...Appendix A Examples of Information Returned by the Show Commands 219 ...
Page 233: ...Appendix A Examples of Information Returned by the Show Commands 221 ...
Page 234: ...222 Show Controller NVSRAM ...
Page 253: ...Appendix A Examples of Information Returned by the Show Commands 241 ...
Page 254: ...242 ShowDrive ...
Page 255: ...Appendix A Examples of Information Returned by the Show Commands 243 ...
Page 256: ...244 ShowDrive ...
Page 257: ...Appendix A Examples of Information Returned by the Show Commands 245 ...
Page 258: ...246 ShowDrive ...
Page 268: ...256 ConfigurationUtility ...
Page 275: ......
Page 276: ...Copyright 2012 NetApp Inc All rights reserved ...