White Papers
Dell™ Lifecycle Controller 2 Web Services Interface Guide for Linux  Version: 2.1.0 
136 
PartitionIndex: The PartitionIndex property of the DCIM_OpaqueManagementData instance 
that represents the partition to be detached 
1 to 16 
EXAMPLE: 
wsman invoke -a DetachPartition http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_PersistentStorageService 
?SystemCreationClassName=DCIM_ComputerSystem, 
CreationClassName=DCIM_PersistentStorageService, 
SystemName=DCIM:ComputerSystem,Name=DCIM:PersistentStorageService 
-h $IPADDRESS -V -v -c dummy.cert -P 443 -u $USERNAME -p $PASSWORD 
-J DetachPartition.xml -j utf-8 –y basic 
The input file DetachPartition.xml is shown below: 
<p:DetachPartition_INPUT xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_PersistentStorageService"> 
<p:PartitionIndex>12</p:PartitionIndex> 
</p:DetachPartition_INPUT> 
OUTPUT: 
When this method is executed, a jobid or an error message is returned.  
<n1: DetachPartition_OUTPUT> 
 <n1:Job> 
<wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address> 
 <wsa:ReferenceParameters> 
 <wsman:ResourceURI>http://schemas.dell.com/wbem/wscim/1/cim-
schema/2/DCIM_LifecycleJob</wsman:ResourceURI> 
 <wsman:SelectorSet> 
 <wsman:Selector Name="InstanceID">JID_001300787520</wsman:Selector> 
 <wsman:Selector Name="__cimnamespace">root/dcim</wsman:Selector> 
 </wsman:SelectorSet> 
 </wsa:ReferenceParameters> 
 </n1:Job> 
 <n1:ReturnValue>4096</n1:ReturnValue> 
</n1:DetachPartition_OUTPUT> 
If the partition is already detached, the following message may be displayed: 
<n1:DetachPartition_OUTPUT> 
 <n1:Message>Partition already detached</n1:Message> 
 <n1:MessageID>VF028</n1:MessageID> 
 <n1:ReturnValue>2</n1:ReturnValue> 
</n1:DetachPartition_OUTPUT> 










