API Guide
601355 Rev A API Functions 2-1013
Functins
VSCMD_
QueryMount
VSCMD_QueryMount determines which drives can be used
in a subsequent Mount command for the specified medium. A
Query Mount request returns the drives in the order of
preference, based upon availability, proximity to the medium,
usage time, and usage count.
Upon receipt of a Query Mount request, VolServ determines
which archive contains the specified medium.
If the specified medium is not in an archive, a null list of drives
is returned to the client.
If the medium is in an archive, VolServ determines which
drives in that archive are suitable for mounting the specified
medium. The list of suitable drives is returned to the client in
the Query Mount status.
Synopsis
VST_BOOLEAN VSCMD_QueryMount
(VST_COMMAND_HANDLE handle,
“…”,
VSID_ENDFIELD)
Arguments • handle = The command handle for this Query Mount
request.
• “…” = Variable length argument list consisting of pairs of
Arguments. Each pair of Arguments consists of a parameter
identifier, followed by the value to be used as a command
default value for the field. The valid parameter identifiers
and types for this function are shown in the following
"Parameters" paragraph.
• VSID_ENDFIELD = Required at the end of the variable
length argument list to indicate the end of the list.