226
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.
Summary of Contents for PowerVault MD3000i
Page 12: ...12 Contents ...
Page 42: ...42 About the Script Commands ...
Page 90: ...90 Using the Virtual Disk Copy Feature ...
Page 104: ...104 Maintaining a Storage Array ...
Page 222: ...222 Script Commands ...
Page 228: ...228 Sample Script Files ...
Page 236: ...236 Index ...