ADIC 601356 사용자 설명서

다운로드
페이지 192
Command Reference
601356 Rev A
Command Reference
2-15
Commands
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.
Step 2.
Output returned: 
Step 1.
Unsuccessful archive vary. Requests VolServ to vary 
the 
BadArchiveName
 archive to the 
on-line
 
state.
Step 2.
Output returned:
Notes
VolServ rejects all incoming requests that could physically 
command an offline or diagnostic library (for example: Mount, 
Dismount, and Move).
vsarchivevary shelf1 -s diagnostic
Vary of archive [shelf1] to state [diagnostic] 
was successful
vsarchivevary BadArchiveName -s 
online
Vary of archive [BadArchiveName] to state 
[on-line] was unsuccessful
Error VOL013: invalid archive