Command Reference

Return Codes

• 0 - The vsarchivevary 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 archive vary. Requests VolServ to vary

 

 

the shelf1 archive to the diagnostic state.

 

 

 

 

 

 

vsarchivevary shelf1 -s diagnostic

 

 

 

Step 2.

 

 

 

 

Output returned:

 

 

 

Vary of archive [shelf1] to state [diagnostic]

 

 

was successful

 

 

 

 

 

 

Step 1.

Unsuccessful archive vary. Requests VolServ to vary

 

 

the BadArchiveName archive to the on-line

 

 

state.

 

 

 

 

 

vsarchivevary BadArchiveName -s

 

 

 

online

 

 

Step 2.

 

 

 

Output returned:

 

 

 

Vary of archive [BadArchiveName] to state

 

 

[on-line] was unsuccessful

 

 

Error VOL013: invalid archive

 

 

 

 

Notes

VolServ rejects all incoming requests that could physically

 

command an offline or diagnostic library (for example: Mount,

 

Dismount, and Move).

Commands

601356 Rev A

Command Reference

2-15

Page 51
Image 51
ADIC 601356 manual Vsarchivevary command is successfully