Troubleshooting
Problem
The Tivoli Storage Manager server fails to return pending tapes to scratch. The tapes stay in Mountablenotinlibrary state.
Environment
Tivoli Storage Manager Server with a non-external library
Diagnosing The Problem
An example of a problem volume follows.
- Command "Query Media Tape01" returns:
Tape01 Mountable not in library Library1
- Command "Query Volume Tape01 " returns:
Tape01 0.0 M 0.0 Pending
Note: Tape01 should have been returned to scratch - Command " Delete volume Tape01" fails with:
ANR1425W Scratch volume NT0000 is empty but will not be deleted - volume state is "mountable".
Resolving The Problem
Use the following steps to return the tape to scratch.
- Checkin the tape into the library if it is currently outside. For example :
CHECKIN LIBV library1 search=Bulk/yes status=private CHECKLABEL=B
- Run this command to fix the inconsistency to return the pending tape to empty :
repair volseg Tape01
- Verify the repair has completed successfully to return the tape to empty
QUERY VOLUME Tape01
Note: Tape01 should be empty - Checkout tape
CHECKOUT LIBV Library1 Tape01 remove=bulk
- Run the move media command to delete the tape
move media Tape01 stg=* wherestate=mountablenotinlib wherestatus=empty
- check the volume into the library as scratch
checkin libv libraryname search=bulk status=scratch checklabel=b
[{"Product":{"code":"SSGSG7","label":"Tivoli Storage Manager"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Server","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Supported Versions","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}}]
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg21607942