White Papers
Dell™ Lifecycle Controller 2 Web Services Interface Guide for Windows  Version: 2.1.0 
116 
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: 
winrm i FormatPartition http://schemas.dell.com/wbem/wscim/1/cim-
schema/2/DCIM_PersistentStorageService 
?SystemCreationClassName=DCIM_ComputerSystem 
+CreationClassName=DCIM_PersistentStorageService 
+SystemName=DCIM:ComputerSystem 
+Name=DCIM:PersistentStorageService  
-u:[USER] -p:[PASSWORD]  
-r:https://[IPADDRESS]/wsman -SkipCNcheck -SkipCAcheck  
-encoding:utf-8 -a:basic -file:FormatPartition.xml 
The input file FormatPartition.xml is shown below: 
<p:FormatPartition_INPUT xmlns:p=" http://schemas.dell.com/wbem/wscim/1/cim-
schema/2/DCIM_PersistentStorageService"> 
<p:PartitionIndex>13</p:PartitionIndex> 
<p:FormatType>4</p:FormatType>  
</p:FormatPartition_INPUT> 
OUTPUT: 
When this method is executed, a jobid or an error message is returned.  
FormatPartition_OUTPUT 
 Job 
 Address = http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous 
 ReferenceParameters 
 ResourceURI = http://schemas.dell.com/wbem/wscim/1/cim-schema/2/DCIM_LifecycleJob  
 SelectorSet 
 Selector: InstanceID = JID_001270738393, __cimnamespace = root/dcim 
 ReturnValue = 0 










