API Guide
601355 Rev A API Functions 2-869
Functions
61 else
62 {
63 /* query all drive pools */
64 rc =
VSCMD_DrivePoolQuery(cmd,
65 VSID_QRY_OPTION,
queryopt,
66 VSID_POOL_QRY_OPT,
querylistopt,
67 VSID_ENDFIELD);
68 }
69 }
70 return ( rc );
71 }
Notes The API must be initialized with a call to VS_Initialize
before this function can be executed.
VolServ can generate intermediate status in response to a Drive
Pool Query request. Statuses are cumulative. Each status is
appended to the previous status so that after the final status is
given, the status handle contains information from all statuses.
VSCMD_CreatePool does not trigger any MediaClass
callbacks from VolServ.
The total length of time the API software waits for a command
status in synchronous mode from VolServ is
(VSID_RETRY_LIMIT plus 1) multiplied by
VSID_TIMEOUT_VALUE.
If the VSID_ENTERPRISE_ID parameter is set to any value
other than zero, the final status for this request is returned to the
enterprise registered with VolServ.
When the API software is operating in asynchronous mode,
client software must call VS_Select to receive final status on
a Drive Pool Query request submitted through the API interface
to the VolServ system.