314
Sample Script Files
Configuration Script Example 1
This example creates a new virtual disk using the
create virtualDisk
command in the free space of a disk group.
Show "Create RAID 5 Virtual Disk 7 on existing
Disk Group 1";
//Create virtual disk on a disk group created by
the create virtual disk command
//Note: For disk groups that use all available
capacity, the last virtual disk on the disk group
is created using all remaining capacity by
omitting the capacity=virtualDiskCapacity
parameter
create virtualDisk diskGroup=1 raidLevel=5
userLabel="7" owner=0 segmentSize=16 capacity=2GB;
show "Setting additional attributes for
virtualDisk 7";
//Configuration settings that cannot be set during
virtualDisk creation
set virtualDisk["7"] mediaScanEnabled=false;
set virtualDisk["7"] consistencyCheckEnabled=
false;
set virtualDisk["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 causes 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 more outstanding. You can do this by entering two
forward slashes (
//
), which causes the script engine to treat the line as a
comment.
book.book Page 314 Wednesday, June 8, 2011 12:20 PM
Содержание PowerVault MD3600f Series
Страница 1: ...Dell PowerVault Modular Disk Storage Arrays CLI Guide ...
Страница 44: ...44 About the Script Commands ...
Страница 114: ...114 Using the Remote Replication Premium Feature ...
Страница 311: ...Script Commands 311 ...
Страница 312: ...312 Script Commands ...
Страница 318: ...318 Sample Script Files ...
Страница 328: ...Index 328 ...