st_volume_append_node
With this resizing method, the blocks on the new nodes are appended
to the current address space of the volume. The new space is instantly
available without performance decrease, but the size and redundancy of the
new nodes must be identical to the existing ones. Therefore, the number
of new nodes must be at least as big as the redundancy of the volume.
The number of nodes specified in the node list must be a multiple of the
given number of master nodes. This means that the nodes for a redundancy level
have to be either completely specified, or not at all.
All remaining levels of redundancy are distributed throughout the nodes
of the last specified level of redundancy.
Mandatory parameters
Parameter name | Data type | Description |
---|---|---|
vid | integer | id of an existing volume |
node_num | integer | Number of nodes |
node_ids | list | List of node IDs |
Optional parameters
Parameter name | Data type | Description |
---|---|---|
vname | string | Volume name |
Substitute parameters
The following table describes what parameters can be substituted for another parameter.
Parameter name | Substitute parameter |
---|---|
vid | vname |
vname | vid |
Allowed users
The following users are allowed to run this job:
- root
Allowed groups
The following groups are allowed to run this job:
- root
- exastoradm
- exaadm
Examples
The following examples show how to run this job in a Python program using XML-RPC or on the command line using confd_client.