Use this command to reclaim volumes in a sequential-access storage pool. Reclamation makes the fragmented space on volumes usable again by moving any remaining files from one volume to another volume. This action makes the original volume available for reuse. Reclamation does not move inactive versions of backup data from volumes in active-data pools. For storage pools defined with RECLAMATIONTYPE=SNAPLOCK, this command also deletes empty WORM FILE volumes that have exceeded their reclaim period.
For storage pools that use a Write Once Read Many (WORM) device class, reclamation is not necessary because WORM volumes are not reusable. However, you can run reclamation to consolidate data onto fewer volumes. Volumes that are emptied by reclamation can be checked out of the library, freeing slots for new volumes.
This command can be used only with sequential access storage pools. The storage pool data format cannot be NETAPPDUMP, CELERRADUMP, or NDMPDUMP. Storage pools that are defined with a CENTERA device class cannot be reclaimed.
Use this command only if you are not going to use automatic reclamation for the storage pool. You can set the RECLAIM parameter of the storage pool definition to 100 to prevent automatic reclamation from running. This command accepts the values of the RECLAIMPROCESS and RECLAIMSTGPOOL attributes of the storage pool definition. This command also accepts the values of the OFFSITERECLAIMLIMIT and RECLAIM parameters of the storage pool definition, if not overridden by the OFFSITERECLAIMLIMIT and THRESHOLD command parameters. Use caution when you set the value of the RECLAIM parameter of an active-data pool to 100. Doing so prevents the removal of inactive versions of backup data.
This command creates one or more reclamation processes that can be canceled with the CANCEL PROCESS command. The number of processes is limited by the RECLAIMPROCESS attribute of the storage pool definition. To display information about background processes, use the QUERY PROCESS command.
To issue this command, you must have system privilege, unrestricted storage privilege, or restricted storage privilege for the storage pool being reclaimed and the reclaim storage pool, if applicable.
>>-RECLaim STGpool--pool_name--+----------------------+---------> '-THreshold--=--number-' .-Wait--=--No------. >--+----------------------+--+------------------+---------------> '-DUration--=--minutes-' '-Wait--=--+-No--+-' '-Yes-' >--+-------------------------------------------+--------------->< '-OFFSITERECLAIMLimit--=--number_of_volumes-'
After the specified number of minutes elapses, the next time the server checks the reclamation process the server stops the reclamation process. The server checks the reclamation process when the server mounts another eligible volume from the storage pool being reclaimed, and when the server begins to reclaim a new batch of files from the currently mounted volume. As a result, the reclamation can run longer than the value you specified for this parameter.
Until the server checks the reclamation process, there is no indication that the duration period has expired. When the server stops the reclamation process, the server issues message ANR4927W: Reclamation terminated for volume xxx - duration exceeded.
If you do not specify this parameter, the process stops only when no more volumes meet the threshold.
If you specify a duration value for reclamation of a copy storage pool with offsite volumes, you might cause the reclamation to terminate before any volumes are reclaimed. In most situations when initiating reclamation for a copy storage pool with offsite volumes, consider limiting the number of offsite volumes to be reclaimed rather than limiting the duration. For details, see the OFFSITERECLAIMLIMIT parameter.
You can specify a number from 1 to 99. This parameter is optional. If not specified, the RECLAIM attribute of the storage pool definition is used.
When determining which volumes in a storage pool to reclaim, the Tivoli Storage Manager server first determines the reclamation threshold. The server then examines the percentage of reclaimable space for each volume in the storage pool. If the percentage of reclaimable space on a volume is greater that the reclamation threshold of the storage pool, the volume is a candidate for reclamation.
When reclamation begins, the server compares the percent of reclaimable space for each volume with the reclamation threshold of 70 percent. In this example, FILEVOL2 and FILEVOL3 are candidates for reclamation because their percentages of reclaimable space are greater than 70. To determine the percentage of reclaimable space for a volume, issue the QUERY VOLUME command and specify FORMAT=DETAILED. The value in the field Pct. Reclaimable Space is the percentage of reclaimable space for the volume.
Specify a value of 50 percent or greater for this parameter so that files stored on two volumes can be combined into a single target volume.
You can continue with other tasks while the command is being processed. Messages that are created from the background process are displayed either in the activity log or the server console, depending on where messages are logged.
To cancel a background process, use the CANCEL PROCESS command. If you cancel this process, some files might have already been moved to new volumes before the cancellation.
reclaim stgpool tapepool duration=60
Command | Description |
---|---|
CANCEL PROCESS | Cancels a background server process. |
MIGRATE STGPOOL | Completes migration for the storage pool. |
MOVE DRMEDIA | Moves DRM media on-site and off-site. |
QUERY DRMEDIA | Displays information about disaster recovery volumes. |
QUERY PROCESS | Displays information about background processes. |
QUERY STGPOOL | Displays information about storage pools. |