Web Services Interface Guide
163 Dell Lifecycle Controller Web Services Interface Guide for Windows
-u:[USER] -p:[PASSWORD] -auth:basic -encoding:utf-8 -SkipCNCheck -SkipCACheck -
file:[DIRECTORYPATH]\DeletePartition.xml
The input file DeletePartition.xml is shown below:
<p:DeletePartition_INPUT xmlns:p="http://schemas.dell.com/wbem/wscim/1/cim-
schema/2/DCIM_PersistentStorageService"> <p:PartitionIndex>1</p:PartitionIndex>
</p:DeletePartition_INPUT>
OUTPUT:
When this method is executed, a ReturnValue or error message is returned.
DeletePartition_OUTPUT
ReturnValue = 0
An index that does not exist in the XML file may yield the following error
message:
DeletePartition_OUTPUT
Message = Invalid partition index
MessageID = VF018
ReturnValue = 2
13.7 Format Partition
This method is for formatting a partition of the type specified by the user.
Use the following algorithm to successfully format an existing partition:
Enumerate the DCIM_PersistentStorageService class
Invoke the FormatPartition() method on the instance above with the following parameters:
PartitionIndex: The PartitionIndex property of the DCIM_OpaqueManagementData instance that
represents the partition to be formatted.
1 to 16
FormatType: The new format type of the partition
EXT2=1, EXT3=2, FAT16=3, FAT32=4
The OUT parameter Job will refer to the instance of CIM_ConcreteJob using which the user can query the
status of the formatting of the partition.
EXAMPLE: