Auditing the volume inventory in a library

You can audit an automated library to ensure that the library volume inventory is consistent with the volumes that are physically in the library. You might want to audit a library if the library volume inventory is distorted due to manual movement of volumes in the library or to database problems.

Procedure

  1. Ensure that no volumes are mounted in the library drives. If any volumes are mounted in the IDLE state, issue the DISMOUNT VOLUME command to dismount them.
  2. Audit the volume inventory by issuing the AUDIT LIBRARY command. Take one of the following actions:
    • If the library has a bar code reader, you can save time by using the bar code reader to identify volumes. For example, to audit the TAPELIB library by using its bar code reader, issue the following command:
      audit library tapelib checklabel=barcode
    • If the library does not have a bar code reader, issue the AUDIT LIBRARY command without specifying CHECKLABEL=BARCODE. The server mounts each volume to verify the label. After the label is verified, the server completes auditing any remaining volumes.

Results

The server deletes missing volumes from the inventory and updates the locations of volumes that moved since the last audit.

Restriction: The server cannot add new volumes to the inventory during an audit operation.