Dell 38XX, 34XX, 32XX, 36XX manual 417

Models: 36XX 32XX 38XX 34XX

1 417
Download 417 pages 18.23 Kb
Page 417
Image 417

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.

The following syntax is the general form of the create virtualDisk command shown in the previous example:

create virtualDisk raidLevel=(0 1 5 6) userLabel="virtualDiskName" physicalDisks= (enclosureID0,slotID0... enclosureIDn,slotIDn) [capacity=virtualDiskCapacity owner=(0 1) segmentSize=segmentSizeValue] [enclosureLossProtect=(TRUE FALSE)]

417

Page 417
Image 417
Dell 38XX, 34XX, 32XX, 36XX manual 417