API Guide
2-1018 API Functions 601355 Rev A
37 /* Instead, it is processed in the
*/
38 /* vst_dispatch routine. Also,
note that */
39 /* default values such as timeout,
*/
40 /* value retry limit and priority
are set as */
41 /* default parameters. */
42 rc = VSCMD_QueryMount(cmd,
43 VSID_MEDIA_ID, mediaid,
44 VSID_ENDFIELD);
45 }
46 return ( rc );
47 }
Notes The API must be initialized with a call to VS_Initialize
before this function can be executed.
VolServ generates no intermediate status in response to a Query
Mount request for the following situations.
VSCMD_QueryMount does not trigger any MediaClass
callbacks from VolServ.
The drives identified in the status returned to the client are
known to be suitable for mounting the specified medium.
However, they may not be available for mounting.
Drives that are not in the on-line state are not considered
suitable for mounting and are, therefore, not returned in the
Query Mount status.
If a Query Mount request specifies a medium that is currently
mounted, the Query Mount request fails with the error
VSE_VOLERR_MEDIA_MOUNTED. However, the status still
includes a list of drives suitable for the specified medium.