expandRAID

Adds additional segments to a software RAID device.

Request

<expandRAID>
   <raidID/>
   <raidSegments>
      <segment>
         <deviceID/>
         <freeSpaceID/>
         <startingSector/>
         <numSectors/>
      </segment>
   </raidSegments>
</expandRAID>

Reply

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

Elements

raidID

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

raidSegments

Specifies a list of RAID segments (partitions) to add.

segment

(Repeating) Specifies a RAID segment to add.

deviceID

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

freeSpaceID

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

startingSector

(Optional) Specifies the starting sector offset within the free space partition of the segment to include.

numSectors

(Optional) Specifies the number of sectors to include.

result

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

description

Specifies a text description of the returned result.

Example

The following example adds one additional segment from device 2 to the existing RAID device with an ID of 21:

<nssRequest>
   <raid>
      <expandRAID>
         <raidID>21</raidID>
         <raidSegments>
            <segment>
               <deviceID>2</deviceID>
               <freeSpaceID>7</freeSpaceID>
               <startingSector>321300</startingSector>
               <numSectors>102400</numSectors>
            </segment>
         </raidSegments>
      </expandRAID>
   </raid>
</nssRequest>

A nssReply packet to the expand RAID command follows:

<nssReply>
   <raid>
      <expandRAID>
         <result value="0">
            <description/>success</description>
         </result>
      </expandRAID>
   </raid>

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