
162 Sun StorageTek SAM Archive Configuration and Administration Guide • Version 4, Update 6, 04/07
For more information about archiver directives, see Chapter 3 or see the
archiver.cmd(4) man page.
▼ To Run the Recycler
Follow these instructions to manually run the recycler.
1. Issue the sam-recycler(1M) command.
The recycler reads the recycler.cmd file.
2. Examine the standard output log, Sun StorageTek SAM log, and
/var/adm/messages for any error messages from the recycler.
Correct your files if errors appear.
CODE EXAMPLE 6-4 shows a sample recycler log file for recycling disk archive files.
Creating a crontab File for the Recycler
If the system is performing as expected, you can make a crontab entry for the
superuser to run the recycler periodically. The frequency depends on your site’s
conditions.
For instructions on creating a crontab entry, see the cron(1M) man page.
The following example entry in root’s crontab file specifies that the cron daemon
run the recycler every five minutes after the hour for every odd-numbered hour:
-rearch_stage_copy copy-number Allows staging for rearchiving to take place
from selected (faster) copies.
CODE EXAMPLE 6-4 Recycler Log File Example for Disk Archive Files
---Archives--- -----Percent-----
----Status----- Count Bytes Use Obsolete Free Library:Type:VSN
new candidate 0 0 0 41 59 <none>:dk:disk01
677 files recycled from VSN disk01 (mars:/sam4/copy1)
0 directories recycled from VSN disk01 (mars:/sam4/copy1)
5 1,3,5,7,9,11,13,15,17,19,21,23 * * * /opt/SUNWsamfs/sbin/sam-recycler
TABLE 6-4 Archive Set Recycling Directives (Continued)
Directive Function
Comentarios a estos manuales