API Guide
2-708 API Functions 601355 Rev A
49 VSID_DRIVE_EXCL_LIST,
count,excllist,
50 VSID_DRIVE_COUNT,
drivecount,
51 VSID_ENDFIELD);
52 }
53 return(rc);
54 }
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 Lock
request.
VSCMD_Lock does not trigger any MediaClass callbacks from
Vol S e rv .
The VSID_DRIVE_ID_LIST and
VSID_DRIVE_EXCEL_LIST parameters require that two
arguments be passed instead of one.
A Lock command that specifies a list of drives fails if the drives
are not contained within the same physical archive.
A Lock command that specifies a drive pool that spans archives
fails.
Any Mount or Dismount request containing the proper lock
identifier has access to a locked drive.
If a Mount request does not specify a lock identifier for a locked
drive, whether the drive is available for use or not, the Mount
request waits until the drive is both unlocked and available.