ADIC 601356 Barcode Reader User Manual


 
Command Reference
2-76 Command Reference 601356 Rev A
vslock
Obtains exclusive use of one or more drives.
The lock identifier assigned to the locked drives is returned to
the client. This lock identifier must be used by clients on
subsequent requests (such as vsmount) for those drives.
A request to lock a drive that is busy (mounted or previously
locked) is queued until the drive becomes available. In addition,
intermediate status is returned to indicate the reason a request is
being queued.
A vslock command:
That specifies a drive pool or a list of drives should also
indicate the number of drives from the pool and list to be
locked. VolServ selects the drives to lock from within the
pool and list according to drive availability.
cannot specify a drive pool or a list of drives that spans
libraries, they must be associated with a single library.
Reserves one drive for exclusive use if a quantity is not
specified on the command.
VolServ considers only online drives as candidates to be locked.
If a sufficient number of online drives in the same library are
unavailable to satisfy a vslock command, the command fails.
If there is a sufficient number of online drives in the same
library to satisfy a
vslock request, but the number of available
online drives is not sufficient, the request waits until sufficient
drives become available.
Note
Partial locks are not set.