Command Reference

Return Codes

• 0 - The vsarchiveqry 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 library query. Requests VolServ to return

 

 

 

the MediaClass groups and the media types

 

 

 

associated with the shelf1 library.

 

 

 

 

 

 

 

 

 

vsarchiveqry shelf1 -ct

 

 

 

 

 

 

 

 

 

Step 2.

Output returned:

 

 

 

 

 

-----------------------------------------------

 

Archive Query Report

May 24

 

12:43:18 1993

1

 

 

-----------------------------------------------

 

Archive:

 

shelf1

 

-----------------------------------------------

 

 

 

Archive Type:

DataShelf

 

 

 

Current State:

online

 

 

 

Archive Mode:

Attended

 

 

 

Console Display Location:columbia:0

 

 

 

Fill Mode:

None

 

 

 

Configure State:

Not Being

 

Configured

 

 

 

MediaClass:

MC-D2M

 

 

 

MediaType:

D2M

 

 

 

Class Capacity %:

50%

 

 

 

 

Class Capacity:

40

 

 

 

 

Current Fill Level:

2

 

 

 

 

 

 

 

 

 

 

 

 

 

Commands

601356 Rev A

Command Reference

2-9

Page 45
Image 45
ADIC 601356 manual Vsarchiveqry command is successfully