st_volume_increase_redundancy

This job increases the redundancy of the given volume by the level specified with 'num_inc'.
The new redundancy segments will be created on the nodes specified with 'nodes'.
If no nodes have been given, the redundancy segments will be distributed throughout
the current nodes of the volume (if there is enough free space).

The number of nodes specified in the node list has to be a multiple of the number
of existing master nodes, which means that the nodes for a redundancy level have to be
either completely specified, or not at all.

If not enough nodes are given for all levels of redundancy, the remaining redundancy
levels 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
delta integer Level of redundancy by which the current redundancy should be increased.

Optional parameters

Parameter name Data type Description
vname string Name of an existing volume
nodes list Node IDs to be used for the new redundancy

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.