expandTraditionalVolume

Expands the size of a traditional NetWare volume on the server. To create an NSS logical volume, call the addVolume command.

Request

<expandTraditionalVolume>
   <volumeName/>
   <volSegments>
      <segment>
         <partitionID/>
         <volStartingSector/>
         <volNumSectors/>
      </segment>
   </volSegment>
</expandTraditionalVolume>

Reply

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

Elements

volumeName

(Required) Specifies the name of the traditional volume to expand.

volSegments

Specifies a list of volume segments to add to the traditional volume.

segment

Repeats for every volume segment that needs to add.

partitionID

Specifies the logical ID of the partition to add to the existing traditional volume. If the partition has HotFix and mirroring, it 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.

volStartingSector

Specifies the starting sector offset within the partition of the segment to include.

volNumSectors

Specifies the number of sectors to include.

result

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

description

Specifies a text description of the result.

Example

A nssRequest packet to expand a traditional volume is as follows:

<nssRequest>
   <volume>
      <expandTraditionalVolume>
         <volumeName>VOL1</volumeName>
         <volSegments>
            <segment>
               <partitionID>31</partitionID>
               <volStartingSector>0</volStartingSector>
               <volNumSectors>100352</volNumSectors>
            </segment>
         </volSegments>
      </expandTraditionalVolume>
   </volume>
</nssRequest>

A nssReply packet to the expand a traditional volume command follows:

<nssReply>
   <volume>
      <expandTraditionalVolume>
         <result value="0">
            <description/>success</description>
         </result>
      </expandTraditionalVolume>
   </volume>

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