st_volume_clear_data
This job overwrites data with zeroes on all segments that reside on the specified nodes.
Mandatory parameters
Parameter name | Data type | Description |
---|---|---|
vid | integer | Volume ID |
num_bytes | integer | Number of bytes per segment to overwrite. Zero means all bytes. |
node_ids | list | Node ID of the nodes whose segments should be overwritten. Empty list means all nodes |
Optional parameters
Parameter name | Data type | Description |
---|---|---|
vname | string | Name of an existing volume |
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.

conn.job_exec('st_volume_clear_data', {'params': {'vname': 'DataVolume1', 'num_bytes': 0, 'node_ids': [0]}})

confd_client st_volume_clear_data vname: DataVolume1 num_bytes: 0 node_ids: '[0]'