Reference Guide

172 Lifecycle Controller Web Services Interface Guide for Linux
</n1:CheckVDValues_OUTPUT>
If the arrangement of physical disk drives prohibits a valid virtual disk arrangement from being created,
such as having too few hard disk drives, the following error may result:
<n1:CheckVDValues_OUTPUT>
<n1:Message>Virtual Disk provided is not valid for the
operation</n1:Message>
<n1:MessageID>STOR017</n1:MessageID>
<n1:ReturnValue>2</n1:ReturnValue>
</n1:CheckVDValues_OUTPUT>
16.21.4 Creating a Single Virtual Disk-CreateVirtualDisk()
The CreateVirtualDisk() method is used to create a single virtual disk on the targeted controller. The
successful execution of this method results in a pending but not yet created virtual disk. The
ObjectStatus property in the virtual disk view ( Section 16.10) will have the value ‘3’, which represents
pending. The virtual disk will not be created until a configuration job ( Section 16.15) has been scheduled
and the System is rebooted. After creation of the virtual disk, the FQDD of the formerly pending virtual
disk will change.
Invoke CreateVirtualDisk() with the following parameters and syntax:
TARGET: This parameter is the FQDD of the DCIM_ControllerView (Section 16.7)
PDArray: This parameter is the list of physical disk drives FQDDs that will be used to create a virtual
Disk.
VDPropNameArray: This parameter is the list of property names that will be used to create a virtual
disk. The parameter list contains the following names:
Size, RAIDLevel, SpanDepth, SpanLength, StripeSize, ReadPolicy, WritePolicy, DiskCachePolicy,
VirtualDiskName, Initialize
VDPropValueArray: This parameter is the list of property values that will be used to create a virtual
Disk. The property values are for the property names listed under VDPropNameArray.
Size: Size of the virtual disk specified in MB. If not specified, default will use full size of physical disks
selected.
RAIDLevel:
RAID 0 = 2
RAID 1 = 4
RAID 5 = 64
RAID 6 = 128
RAID 10 = 2048
RAID 50 = 8192
RAID 60 = 16384
SpanDepth: If not specified, default is single span which is used for RAID 0, 1, 5 and 6. Raid 10, 50
and 60 require a spandepth of at least 2.
SpanLength: Number of Physical Disk Drives to be used per span. Minimum requirements for given
RAID Level must be met.
StripeSize:
8KB = 16
16KB = 32
32KB = 64