Media Recycling


Overview

Tape or Optical Media

Disk Media


Overview

The MediaAgent automatically recycles media that no longer contains data by moving them back to the original scratch pool for re-use. In the case of magnetic storage devices, the MediaAgent physically removes the folders and files, if possible.

Media can be recycled when you prune data using the Data Aging operation or job based pruning in the CommCell. However, keep in mind, that data aging or job based pruning does not recycle media with an Active status. ( If you wish to perform data recovery operations from data that has been aged or save the media containing the data for future use, see Accessing Aged Data.)

Media will also be recycled when you delete the following entities in the CommCell, if they are no longer valid or required and then perform an data aging operation:

For comprehensive information on the Data Aging operation, see Data Aging.

Additionally, media is immediately recycled when you use the Delete Content option from the CommCell Console. For more information on the Delete Content option, see Delete Contents.

Data aging removes the data entries in the CommServe database to logically remove the data from the media. Once the data entries are removed from the CommServe database, data is logically removed and hence no longer available for restore.


Tape or Optical Media

Data aging and recycling of optical media is similar to tape media, except that in the case of optical media, data from both sides of the media has to be removed in order to recycle an optical cartridge.

If data stored on media meets its retention criteria and data aging is run, the data is logically deleted (i.e., removed from the CommServe database). If all of the data on a media is pruned, the media is recycled. That is, it is returned to the scratch pool that is currently associated with the storage policy copy containing the media.

Let us look at the following examples, to gain a better understanding of recycling tape media:

Recyclable Media

In this example, subclient A has its first cycle on Tape 1 and the second cycle on Tape 2. The data retention rule for the storage policy copy used by Subclient A has been set to one day and one cycle.

If data aging is run on 9/7, all the data in Tape 1, (which exceeds the 1-day and 1-cycle criteria) will be aged and the media will be recycled.

Non-Recyclable Media

In the following example, Subclient A has its first and second cycles on Tape 1, and the third and fourth cycles on Tape 2. The data retention rule for the storage policy copy used by Subclient A has been set to two days and three cycles.

If data aging is run on 9/9, only the first cycle can be aged in order to keep three cycles. Because the second cycle is still on Tape 1, this tape cannot be recycled.


Disk Media

If data stored on disk media is deleted or pruned, the data is both logically and physically deleted. If the data aging operation cannot access data stored on disk for any reason (e.g., a disk sector is corrupt, data has been moved or deleted, a network connection is down, etc.) data will remain, but not be usable. You must manually remove the data through the operating system. The disk data is stored in the CV_Magnetic folder of the mount path.