Service: zimbraAdmin

Command: CreateVolume
Namespace: urn:zimbraAdmin
Description: Create a volume
Properties:
Authorization token required true
Admin Authorization token required true

CreateVolumeRequest

    <CreateVolumeRequest> ## CreateVolumeRequest
        <volume [id="{volume-id} (short)"] [name="{volume-name}"] [rootpath="{volume-root-path}"]
                   [type="{volume-type} (short)"] [compressBlobs="{compress-blobs} (0|1)"]
                   [compressionThreshold="{compression-threshold} (long)"] [mgbits="(short)"] [mbits="(short)"]
                   [fgbits="(short)"] [fbits="(short)"] [isCurrent="(0|1)"] /> ## VolumeInfo
    </CreateVolumeRequest>

elements and attributes you can define within a <CreateVolumeRequest> element:

XPath Required / Optional Description
/volume Required (only 1) Volume information
/volume@id Optional (0 or 1) Type: short
Volume ID
/volume@name Optional (0 or 1) Type: String
Name or description of volume
/volume@rootpath Optional (0 or 1) Type: String
Absolute path to root of volume, e.g. /opt/zextras/store
/volume@type Optional (0 or 1) Type: short
Volume type
1 Primary message volume
2 Secondary message volume
10 index volume
/volume@compressBlobs Optional (0 or 1) Type: 0|1
Specifies whether blobs in this volume are compressed
/volume@compressionThreshold Optional (0 or 1) Type: long
Long value that specifies the maximum uncompressed file size, in bytes, of blobs that will not be compressed (in other words blobs larger than this threshold are compressed)
/volume@mgbits Optional (0 or 1) Type: short
mgbits
/volume@mbits Optional (0 or 1) Type: short
mbits
/volume@fgbits Optional (0 or 1) Type: short
fgbits
/volume@fbits Optional (0 or 1) Type: short
fbits
/volume@isCurrent Optional (0 or 1) Type: 0|1
Set if the volume is current.

CreateVolumeResponse

    <CreateVolumeResponse> ## CreateVolumeResponse
        <volume [id="{volume-id} (short)"] [name="{volume-name}"] [rootpath="{volume-root-path}"]
                   [type="{volume-type} (short)"] [compressBlobs="{compress-blobs} (0|1)"]
                   [compressionThreshold="{compression-threshold} (long)"] [mgbits="(short)"] [mbits="(short)"]
                   [fgbits="(short)"] [fbits="(short)"] [isCurrent="(0|1)"] /> ## VolumeInfo
    </CreateVolumeResponse>

elements and attributes you can define within a <CreateVolumeResponse> element:

XPath Required / Optional Description
/volume Required (only 1) Information about the newly created volume
/volume@id Optional (0 or 1) Type: short
Volume ID
/volume@name Optional (0 or 1) Type: String
Name or description of volume
/volume@rootpath Optional (0 or 1) Type: String
Absolute path to root of volume, e.g. /opt/zextras/store
/volume@type Optional (0 or 1) Type: short
Volume type
1 Primary message volume
2 Secondary message volume
10 index volume
/volume@compressBlobs Optional (0 or 1) Type: 0|1
Specifies whether blobs in this volume are compressed
/volume@compressionThreshold Optional (0 or 1) Type: long
Long value that specifies the maximum uncompressed file size, in bytes, of blobs that will not be compressed (in other words blobs larger than this threshold are compressed)
/volume@mgbits Optional (0 or 1) Type: short
mgbits
/volume@mbits Optional (0 or 1) Type: short
mbits
/volume@fgbits Optional (0 or 1) Type: short
fgbits
/volume@fbits Optional (0 or 1) Type: short
fbits
/volume@isCurrent Optional (0 or 1) Type: 0|1
Set if the volume is current.