A few days ago found this tech doc.
Tech Doc: 1194585
Reclamation Tips and Hints
Technote (FAQ)
Problem
The purpose of this document is to relate some additional tips and hints that may help IBM Tivoli Storage Manager administrators avoid a call to the Tivoli Support line as well as to provide some interesting points for discussion.
Cause
Managing reclamation so as to not cause performance or failure issues
Solution
Originally published as field guide 7003828 no longer available
When the percentage of reclaimable space on a volume exceeds the reclamation threshold set for the storage pool, the volume is eligible for reclamation. The server checks whether reclamation is needed at least once per hour and begins space reclamation for eligible volumes. You can set a reclamation threshold for each sequential access storage pool when you define or update the pool.
During space reclamation, the server copies files that remain on eligible volumes to other volumes. During reclamation, the server copies the files to volumes in the same storage pool unless you have specified a reclamation storage pool. Use a reclamation storage pool to allow automatic reclamation for a storage pool with only one drive.
The server also reclaims space within an aggregate file. An aggregate is a physical file that contains multiple logical files that are backed up or archived from a client in a single transaction. Space within the file becomes reclaimable space as logical files in the aggregate expire or are deleted by the client. The server removes unused space from expired or deleted logical files as the server copies the aggregate file to another volume during reclamation processing. However, reclamation does not aggregate files that were originally stored in non-aggregated form. Reclamation also does not combine aggregates to make new aggregates. You can also reclaim space in an aggregate by issuing the MOVE DATA command.
After the server moves all readable files to other volumes, one of the following occurs for the reclaimed volume:
If you have explicitly defined the volume to the storage pool, the volume becomes available for reuse by that storage pool.
If the server acquired the volume as a scratch volume, the server deletes the volume from the TSM database.
Volumes that have a device type of SERVER are reclaimed in the same way as other sequential access volumes. However, because the volumes are actually data stored in the storage of another TSM server, the reclamation process can consume network resources.
Volumes in a copy storage pool are reclaimed in the same manner as a primary storage pool except for the following:
Offsite volumes are handled differently.
The server copies active files from the candidate volume only to other volumes in the same storage pool.
General Information
Each file stored in a TSM storage pool has an expiration date. Because of this, the TSM server must monitor all sequential (tape) volumes to reclaim volumes as needed. A volume needs to be reclaimed when the empty space on the volume exceeds the reclamation threshold. Empty space on a tape volume is comprised of space never used or space created as files expire.
Reclamation of sequential storage pool volumes is an automatic function of the TSM server. At least once every hour, the server checks to see if reclamation is needed. The only manual intervention to this process is the value of the reclamation threshold. A lower threshold setting will cause reclamation to run sooner and more frequently.
If reclamation does not run to completion daily, the number of used tape volumes will most likely increase, and the number of scratch volumes will decrease.
Filling tape volumes with files that have the same expiration date will result in the elimination of data transfer during reclamation. Once the files on the volume have expired, the volume will be automatically returned to the scratch pool. Attention to this scenario can significantly reduce load on the TSM server for reclamation.
TIP: Reclaiming Volumes in a Storage Pool with One Drive
The following instructions give the procedure required to reclaim volumes in a storage pool where one drive is involved:
Create a primary stgpool of devclass FILE with a name that clearly states its purpose, i.e. Reclaim_pool. This stgpool must be of sufficient size to process the entire amount of reclaimable data in a 24 hour period. This pool will be automatically expandable and contractible as needed.
Set the Nextstgpool parameter in the Reclaim_pool to point to the original tape pool. Using this technique will maximize efficiency of tape volumes.
Set the Reclaim parameter in the Reclaim_pool to 100%. Migration will manage this volume’s space.
HINT: Sharing Tape Libraries Between Multiple TSM Servers
Establish TSM Library Sharing when accessing a single tape library with multiple TSM servers. This will eliminate drive contention during reclamation process. 2
HINT: Reclamation Volumes Stuck in Drive After Reclamation Process
Try each of the following steps, in order, until volume is successfully removed and stowed by the library robotics.
Recycle (power-off, power-on) tape library.
Recycle TSM server. (Update stgpool reclaim value to 100% before halting server. Reset the reclaim value to the original value after the volume has been removed and the TSM server is back in service.)
Query the volume and inspect its status. If there is a discrepancy between this status and the volume’s physical state, issue the Audit Library command to resolve the discrepancy.
TIP: Sizing TSM Reclamation Stgpools
Grouping data that has like retention periods minimizes reclamation processing. This is most effective where clients have many, large files (as with database backups). As an illustration, consider the following. All files within a given tape volume have the same retention period and were written to that volume on the same day. In this case, reclamation would be eliminated because all files would expire at the same time and the volume would simply be returned to the scratch pool.
Exact sizing of a reclamation stgpool is difficult. Retention values, migration limits, reclamation limits, number of files, size of files and frequency of backups are the primary factors. Observing trends based on historical data, tracking reclamation amounts and time periods, is the best gauge of a reclamation stgpool’s proper size.
HINT: Reclamation Volumes that are Not Returned to Scratch
Check storagepool definition for the REUSEDELAY option. This is the number of days after a volume becomes empty that it will be in a PENDING state before returning to SCRATCH
Customers using a reclamation storage pool with a dev type of file may experience a situation where their reclaimed volumes are not returned to scratch status. This problem was identified and fixed in the TSM server 4.2.2.0 code.
Good Luck,
Sais