ADIC 601356 manual MED003,MED004,and MED005 out of the, Step, vscheckout MED003 MED004 MED005 -t

Models: 601356

1 192
Download 192 pages 39.58 Kb
Page 66
Image 66
MED003,MED004,and MED005 out of the

Command Reference

Parameter

Description

 

 

-Ttimeout

Amount of time (in seconds) the API software

Default value is

waits for status from VolServ before returning

a time-out to the CLI software. Total wait time

120 seconds.

for a command is (retries plus 1) multiplied by

 

 

time-out value.

 

 

-Vprognum

RPC program number for VolServ.

Default value is

 

300016.

 

 

 

Return Codes

• 0 - The vscheckout command is successfully processed.

 

-1 - An error is detected by either the CLI software or the

 

API software.

 

 

 

 

• >0 - An error is detected by VolServ. The returned exit code

 

corresponds to the error code given by VolServ.

Examples

Step 1.

Successful Checkout request with verbose option

 

 

specified. Requests VolServ to check

 

 

MED003,MED004,and MED005 out of the

 

 

VolServ system and to return status on every

 

 

specified media.

 

 

 

 

 

 

 

 

 

vscheckout MED003 MED004 MED005 -t

 

 

 

 

“Transfer to Library“ -v

 

 

 

 

Step 2.

 

 

 

 

 

Output returned:

 

 

 

 

 

 

Check out 3 of 3 media was successful

 

 

 

Media [MED003]

no error

 

 

 

Media [MED004]

no error

 

 

 

Media [MED005]

no error

 

 

 

 

 

 

 

2-30

Command Reference

601356 Rev A

Page 66
Image 66
ADIC 601356 manual MED003,MED004,and MED005 out of the, Step, vscheckout MED003 MED004 MED005 -t, “Transfer to Library“