st_volume_set_priority
Each volume has a priority value that determines two things:
- how many background operations are created (relative to other volumes)
when restoring a node or creating a snapshot - whether I/O operations should be preferred before operations from other volumes.
Minimum priority is 20 and maximum is 0. The default is 10.
Mandatory Parameters
Parameter Name | Data Type | Description |
---|---|---|
vid | integer | ID of an existing volume |
prio | integer | New priority |
Optional Parameters
Parameter Name | Data Type | Description |
---|---|---|
vname | string | Name of an existing volume |
Substitute Parameters
The below 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 code snippets show how to use this job using both Python (via XML-RPC) and on the command-line using confd_client.