Web Services Interface Guide

Dell™ Lifecycle Controller 2 Web Services Interface Guide for Linux Version: 2.1.0
194
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
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.