Web Services Interface Guide
239 Dell Lifecycle Controller Web Services Interface Guide for Windows
CreateVirtualDisk_OUTPUT NewVirtualDisk
Address = http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous
ReferenceParameters
ResourceURI = http://schemas.dell.com/wbem/wscim/1/cim-
schema/2/DCIM_VirtualDiskView SelectorSet
Selector: InstanceID = DISK.Virtual.267386880:RAID.Integrated.1-1,
__cimnamespace =
root/dcim RebootRequired = YES ReturnValue = 0
16.18.5 Creating a Sliced Virtual Disk-CreateVirtualDisk()
The CreateVirtualDisk() method is used to create a sliced virtual disk. A sliced virtual disk is created, if
CreateVirtualDisk() Size input parameter value is less than total size of the physical disks. Additional sliced
virtual disk can be created using the same set of physical disks and same RAID level that was used to
create the first sliced virtual disk. If the physical disks have sliced virtual disks, then use the
CheckVDValues() method on that set of physical disks to find the exact value for StartingLBA. Use this
value as the StartingLBA parameter value of the CreateVirtualDisk() method.
The ObjectStatus property in the virtual disk view (see Section 16.10) has the value ‘3’, which represents a
pending change. The virtual disk is not created until a configuration job (see Section 16.14) is scheduled
and the system is rebooted. After the virtual disk creation, the FQDD of the pending virtual disk changes.
Invoke the CreateVirtualDisk() method 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 FQDDs that is used to create a virtual Disk.
VDPropNameArray: This parameter is the list of property names that is used to create a virtual disk. The
parameter list has the following names:
Size, RAIDLevel, SpanDepth, SpanLength, StripeSize, ReadPolicy, WritePolicy, DiskCachePolicy,
VirtualDiskName, Initialize.
VDPropValueArray: This parameter is the list of property values that is 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