API Guide
2-854 API Functions 601355 Rev A
54 VSID_MEDIA_ID,
media,
55 VSID_LOCK_ID,
lock,
56 VSID_USAGE_TIME, time,
57 VSID_ERROR_COUNT, err,
58 VSID_ENDFIELD);
59 }
60 return ( rc );
61 }
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
Dismount request.
VSCMD_Dismount can trigger MediaClass callbacks from
Vol S e rv .
VSID_USAGE_TIME and VSID_ERROR_COUNT are optional
parameters provided for the client that wants to maintain drive
statistics. Correct values for these parameters are the
responsibility of the client. When VolServ detects these
parameters on a Dismount command, the usage time and/or
error count fields for the specified drive are incremented by the
amount specified on the Dismount command.
A Dismount request cannot be cancelled. If necessary, the client
may request the medium be remounted by issuing a Mount
request.
If the drive specified in a Dismount request is off-line,
unavailable, or in the diagnostic state, the Dismount request
fails.