Description
This command checks that the media information on the media loaded in the drive and the media information in the CommServe database match. This command is supported only for a stand-alone library.
In case of an error, an error code and description are displayed as: "verify: Error errorcode: errordescription"
Usage
qdrive verify -dr drive -l library [-tf tokenfile] [-tk token] [-h]Options
|
-dr |
Drive name |
|
-l |
Library name |
|
-tf |
Reads token from a file |
|
-tk |
Token string |
|
-h |
Displays help |
Diagnostics
Possible exit status values are:
0 - Successful completion.
1 - CLI usage failures, due to the use of an unsupported option or missing argument.
2 - Any other failure.
Example
Verify the media in drive Drive1 for library Library1.
E:\commandline>qdrive verify -dr Drive1 -l Library1Sample Output
For media associated with the standalone drive that belongs to the same instance of the CommServe.
Media in library [Library1] drive [Drive1] has Identifier [StdAln_Wed Jul 2A_62] Unique ID [2_BC_StdAln_28], creation time [Tue Aug 21 15:45:32 2012] and belongs to this instance of the CommCell.
For media associated with the standalone drive that belongs to different CommServe instance.
Media in library [StndAln Library 1\ drive [Drive1] has Identifier [StdAln_Fri Sep 1A_57] Unqiue ID [1023922_BC_StdAln_57], creation time [Wed Sep 26 22:16:43 2012], CommCell Id [1023922] and does not belong to this instance of the CommCell.