modifyPartition

Modifies the partition label and size.

Request

<modifyPartition>
   <partitionID/>
   <label/>
   <growSize/>
   <shrinkSize/>
</modifyPartition>

Reply

<modifyPartition>
   <result value=" ">
      <description/>
   </result>
</modifyPartition>

Elements

partitionID

(Required) On NetWare, specifies the partition ID received from Media Manager. On Linux, specifies the partition name.

label

(Optional) If exists, specifies the new value for the partition label.

growSize

(Optional) If exists, specifies that the partition size is increasing. Specifies the amount to grow the partition by in bytes (not the desired total partition size). If growSize exists, shrinkSize should not exist.

shrinkSize

(Optional) If exists, specifies that the partition size is decreasing. Specifies the amount to shrink the partition by in bytes (not the desired total partition size). If shrinkSize exists, growSize should not exist.

result

Specifies an error value or 0 (for no error).

description

Specifies a text description of the returned result.

Example

A nssRequest packet to remove an NSS partition is as follows:

<nssRequest>
   <partition>
      <removePartition>
         <partitionID>14</partitionID>
      </removePartition>
   </partition>
</nssRequest>

A nssReply packet to the remove partition command follows:

<nssReply>
   <partition>
      <removePartition>
         <result value="0">
            <description/>success</description>
         </result>
      </removePartition>
   </partition>

   <result value="0">
      <description/>zOK</description>
   </result>
</nssReply>