
156 Sun StorageTek SAM Archive Configuration and Administration Guide • Version 4, Update 6, 04/07
3. Add one or more directives described in this chapter to control recycler activity.
4. Save and close the file.
Alternatively, you can create a recycler.cmd file by using File System Manager
software. For more information, see the File System Manager online help.
Example recycler.cmd File
CODE EXAMPLE 6-1 shows an example of a recycler.cmd file.
The following sections describe the parameters specified in
CODE EXAMPLE 6-1.
The -hwm 51 Parameter
By specifying a high-water mark, you can set the percentage of media usage below
which recycling cannot occur. This percentage is the ratio of the used space in the
library to its total capacity. As an example, a library that holds ten 20-gigabyte tapes,
three of them 100 percent full and the remaining seven each 30 percent full, has the
following media utilization percentage:
Note that this calculation does not distinguish between current data and expired
data. It only addresses the amount of media used.
In this example, if the utilization percentage is 51 percent or less, the recycler does
not automatically select any of the automated library’s VSNs for recycling.
CODE EXAMPLE 6-1 Example recycler.cmd File
logfile = /usr/tmp/recycler.log
stk30 -hwm 51 -mingain 60 -ignore -mail root
((3* 1.00 + 7 * 0.30) * 20G ) / ( 10 * 20G ) * 100%= 51%
Kommentare zu diesen Handbüchern