ADIC 601356 사용자 설명서
Command Reference
2-92
Command Reference
601356 Rev A
Return Codes
•
0 - The
vsmedqry
command is successfully processed.
•
-1 - An error is detected by either the CLI software or the
API software.
API software.
•
>0 - An error is detected by VolServ. The returned exit code
corresponds to the error code given by VolServ.
corresponds to the error code given by VolServ.
Examples
Step 1.
Successful Media Query request.
Requests VolServ to return information on every
media known to the VolServ system.
media known to the VolServ system.
-P
priority
Default value is
15.
15.
The execution priority of the entered
command. Assignable priority values are
restricted to a range from 1 (highest) to 32
(lowest) inclusive.
command. Assignable priority values are
restricted to a range from 1 (highest) to 32
(lowest) inclusive.
-R
retries
Default value is
3.
3.
Number of retries the CLI software attempts if
a time-out is returned by the API software.
a time-out is returned by the API software.
-T
timeout
Default value is
120 seconds.
120 seconds.
Amount of time (in seconds) the API software
waits for status from VolServ before returning
a time-out to the CLI software. Total wait time
for a command is (retries plus 1) multiplied by
time-out value.
waits for status from VolServ before returning
a time-out to the CLI software. Total wait time
for a command is (retries plus 1) multiplied by
time-out value.
-V
prognum
Default value is
300016.
300016.
RPC program number for VolServ.
Parameter
Description
vsmedqry -a