Depending upon your config and layout. Various solutions may apply.
- Always make sure your tapelibrary has the correct info about tapes and theri position within the library. Check your vendor's doc for how to run an audit. This is when the library scans all lables and updates its own tables.
- Stop all tsm activity towards tape drives belonging to the library in question
- From dsmadmc 'audit library NAME checklable=barcode
- Check actlog to find potensial errors.
I have from time to time found it necessary to remove and insert tapes to the library to force an update. Tape is not removed, just unassigned and the assigned back again.
Once you are sure all tape labels are updated, then you can start to make them available using one or more commands
- upd vol NAME acc=readwrite (if tape is available fromq libvol)
- chekin libvol NAME search=yes|bulk checklabel=barcode stat=private owner=TSMSERVER (if tape is not listed in q libvol - depends alot upon your config)
Hope this helps abit