Technical White Paper

Size: The size of the partition to be created.
SizeUnit: The unit of the size
MB=1, GB=2
PartitionType: The partition type
floppy=1, hard disk drive=2
OSVolumeLabel: The label seen in the OS after attaching the partition.
EXAMPLE:
wsman invoke -a CreatePartition
http://schemas.dmtf.org/wbem/wscim/1/cimschema/
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 CreatePartition.xml -j utf-8 y basic
The input file CreatePartition.xml is shown below:
<p:CreatePartition_INPUT xmlns:p="http://schemas.dell.com/wbem/wscim/1/cim-
schema/2/DCIM_PersistentStorageService">
<p:PartitionIndex>1</p:PartitionIndex>
<p:Size>50</p:Size>
<p:SizeUnit>1</p:SizeUnit>
<p:PartitionType>2</p:PartitionType>
<p:OSVolumeLabel>label1</p:OSVolumeLabel>
</p:CreatePartition_INPUT>
OUTPUT:
After running this method, a
jobid
or a message is displayed indicating an error.
<n1:CreatePartition_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/cimschema/
2/DCIM_LifecycleJob</wsman:ResourceURI>
<wsman:SelectorSet>
<wsman:Selector Name="InstanceID">JID_001300793055</wsman:Selector>
<wsman:Selector Name="__cimnamespace">root/dcim</wsman:Selector>
</wsman:SelectorSet>
</wsa:ReferenceParameters>
</n1:Job>
<n1:ReturnValue>4096</n1:ReturnValue>
</n1:CreatePartition_OUTPUT>
If this method displays the following message, the
VFlash
must be enabled using the
VFlashStateChange() ( Section 13.3) method.
CreatePartition_OUTPUT
Message = VFlash not enabled