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.
Содержание PowerVault MD3000i
Страница 12: ...12 Contents ...
Страница 42: ...42 About the Script Commands ...
Страница 90: ...90 Using the Virtual Disk Copy Feature ...
Страница 104: ...104 Maintaining a Storage Array ...
Страница 222: ...222 Script Commands ...
Страница 228: ...228 Sample Script Files ...
Страница 236: ...236 Index ...