266
Sample Script Files
Configuration Script Example 2
This example creates a new virtual disk using the
create virtualDisk
command with user-defined physical disks in the storage array.
Show "Create RAID 5 Virtual Disk 2 on existing
Disk Group 2";
//This command creates the disk group and the
initial virtual disk on that group.
//Note: For disk groups that use all available
capacity, the last virtual disk on the group is
created using all remaining capacity by omitting
the capacity=virtualDisk creation parameter
create virtualDisk raidLevel=5 userLabel="2"
physicalDisks=[0,1 0,6 1,7 1,3 2,3 2,6] owner=1
segmentSize=16 capacity=2GB;
show "Setting additional attributes for virtual
disk 7";
//Configuration settings that cannot be set during
virtual disk creation
set virtualDisk["7"] mediaScanEnabled=false;
set virtualDisk["7"] consistencyCheckEnabled=
false;
set virtualDisk["7"] modificationPriority=high;
The command in this example, like the
create virtualDisk
command in the
previous example, creates a new virtual disk. The significant difference between
these two examples is that this example shows how you can define specific
physical disks to include in the virtual disk. To find out what physical disks are
available in a storage array, run the
show storageArray profile
command.
book.book Page 266 Friday, March 4, 2011 10:45 AM
Summary of Contents for PowerVault MD3200 Series
Page 1: ...Dell PowerVault Modular Disk Storage Arrays CLI Guide ...
Page 42: ...42 About the Script Commands ...
Page 263: ...Script Commands 263 ...
Page 269: ...268 Sample Script Files ...
Page 271: ...270 CLI Command Updates ...
Page 279: ...Index 278 ...