Reference Guide

174 Lifecycle Controller Web Services Interface Guide for Linux
OUTPUT:
The instanceID output will identify this virtual disk in inventory before and after its creation by the
CreateTargetedConfigJob.
Note: However, that the instanceID will change slightly after successful creation.
CreateVirtualDisk_OUTPUT
NewVirtualDisk
Address = http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous
ReferenceParameters
ResourceURI =
http://schemas.dell.com/wbem/wscim/1/cimhttp://schemas.dell.com/wbem/wscim/
1/cim-schema/2/DCIM_VirtualDiskViewschema/2/DCIM_VirtualDiskView
SelectorSet
Selector: InstanceID =
DISK.Virtual.267386880:RAID.Integrated.1-1,__cimnamespace = root/dcim
RebootRequired =YES
ReturnValue= 0
16.21.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 disk drives.
Additional sliced virtual disk can be created using the same set of physical disk drives and same RAID
level that was used to create the first sliced virtual disk. If the physical disk drives have sliced virtual disks,
then use the CheckVDValues() method on that set of physical disk drives 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 disk
drives selected.
RAIDLevel:
RAID 0 = 2
RAID 1 = 4
RAID 5 = 64
RAID 6 = 128
RAID 10 = 2048
RAID 50 = 8192
RAID 60 = 16384