st_volume_set_shared
Set/unset the 'shared' flag of a specified volume The 'shared' flag cannot be changed if the volume is currently opened by more than one user.
Mandatory Parameters
Parameter name | Data type | Description |
---|---|---|
vid | integer | ID of an existing volume |
shared | boolean | Set or clear the shared flag |
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.