|
| Command Reference | ||
Return Codes | • 0 - The vsarchivevary command is successfully | |||
| processed. | |||
| • | |||
| 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 |
|
|
| 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 | ||
|
| state. | ||
|
|
| ||
|
| vsarchivevary BadArchiveName |
| |
|
| online |
| |
| Step 2. |
|
| |
| Output returned: | |||
|
| |||
| Vary of archive [BadArchiveName] to state |
| ||
|
| |||
| 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 |