st_volume_set_io_status
While I/O for a volume is disabled, all I/O operations, like read and write, on the volume will return error STE_AGAIN. Therefore the volume will "hang" for the applications.
Mandatory parameters
| Parameter name | Data type | Description |
|---|---|---|
| app_io | boolean | application I/O in |
| int_io | boolean | Internal I/O |
| vid | integer | Volume ID |
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.
conn.job_exec('st_volume_set_io_status', {'params': {'app_io': True, 'int_io': True, 'vname': 'DataVolume1'}})
confd_client st_volume_set_io_status app_io: true int_io: true vname: DataVolume1