White Papers

Version 1.0.0 19
Table 19CreatePartition() Method: Standard Messages
MessageID (OUT parameter) Message MessageArguments[]
JCP017 Maximum job limit reached
JCP018
Cannot create new jobs until the
existing Export job is completed or
deleted.
JCP019
Cannot create new jobs until the
existing Import job is completed or
deleted.
VF001 The command was successful
VF002 General failure
VF004
Invalid value of parameter
<parameter>
OSVolumeLabel, PartitionIndex,
PartitionType, SizeUnit, Size
VF012 SD card not present
VF013 SD card locked
VF015 VFlash not enabled
VF016 SD card is read only
VF017 SD card not initialized
VF018 Partition does not exist
VF019 Not enough space on SD card
VF021 Exceeded maximum partition size
VF022 Partition size below minimum
VF023 Partition label not unique
VF026 Partition index in use
VF031 Invalid partition label
VF032 Invalid partition type
VF052 SD card not ready
8.4 DCIM_PersistentStorageService.CreatePartitionUsingImage()
The CreatePartitionUsingImage() method is used to create a partition using an image provided by the
user. Image may reside on (T)FTP or HTTP server, or on a CIFS or NFS share. Upon successful
invocation of the CreatePartitionUsingImage() method, the image shall be downloaded and provisioned
as a partition on a VFlash.
Upon successful invocation of the CreatePartitionUsingImage() method, a new instance of
DCIM_OpaqueManagementData shall be created with the PartitionIndex property equal to the
PartitionIndex parameter, the Size property in MB equal to the size of the remote image, the PartitionType
property equal to the string representation of PartitionType parameter value map, and the Name property
equal to the OSVolumeLabel parameter.
Return code values for the CreatePartitionUsingImage() method are specified in Table 20, and
parameters are specified in Table 21.
Table 20 – CreatePartitionUsingImage() Method: Return Code Values
Value Description
2 Failed
4096 Job Created