CLI zmvolume

Revision as of 22:09, 10 April 2007 by NmkGqx (talk | contribs)

zmvolume

This command can be used to manage storage volumes from the CLI. Volumes can be easily managed from the administration console, Server, Volume tab.

Syntax

zmvolume --add --name <message volume> --type <primaryMessage> --path /<data/ msgvol>

Description

Long Name

Long Name Second Attribute

Short Name

Description

--add

-a

Adds a volume

--name <arg>

-n

Volume name

--type <arg>

-t

Type of volume, primaryMessage, secondaryMessage, or index. SecondaryMessage is used only when the Network Edition, HSM feature is enabled.

--path <arg>

-p

File system root path of the volume

--compress <arg>

-c

Compress blobs, “true” or “false”. The default is “false.”
True means that message blobs whose size are above the compression threshold are compressed.

-- compressionThre shold <arg>

-ct

Compression threshold size is specified in bytes. The default is 4KB

--edit

-e

Edits a volume. Any of the options listed under --add can also be specified to have its volume modified.

--id <arg>

-id

Volume ID

--delete

-d

Deletes a volume

--id <arg>

-id

Volume ID

--list

-l

Lists volumes

--id <arg>

-id

ID is optional. If it is specified, just that volume is listed. If not, all volumes are displayed.

--displayCurrent

-dc

Displays the current volumes

--setCurrent

-sc

Sets the volume specified by --id to be the current volume of its volume type.

'

--id <arg>

-id

Volume ID

--turnOffSecondary

-ts

Turns off the current secondary message volume. After this command completes, no current secondary volume is enabled.

Jump to: navigation, search