expandPool

Expands the size of (adds additional partitions to) an NSS storage pool. This command is implemented only on NetWare and not on Linux.

Request

<expandPool> 
   <poolName/>
   <partitions>
      <partitionID/>
   </partitions>
</expandPool>

Reply

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

Elements

poolName

Specifies the name of the pool to expand.

partitions

Specifies one or more partitions.

partitionID

Repeats for each partition. Specifies the logical ID of a partition to add to the pool. If the pool has HotFix and mirroring, the ID is the mirror group ID for the partition. If the partition does not have HotFix and mirroring, it is the ID of the raw physical partition.

result

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

description

Specifies a text description of the result.

Example

The following is an example of expanding the size of MYPOOL by adding another partition to it:

<nssRequest>
   <pool>
      <expandPool>
         <poolName>MYPOOL</poolName>
         <partitions>
            <partitionID>18</partitionID>
         </partitions>
      </expandPool>
   </pool>
</nssRequest>

A nssReply packet to the expand pool command follows:

<nssReply>
   <pool>
      <expandPool>
         <result value="0">
            <description/>success</description>
         </result>
      </expandPool>
   </pool>

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