How to Run Recycling on Demand

If you are managing a server that has the SUNWsamfsr and SUNWsamfsu packages installed locally, you can automatically run recycling at off-peak hours by logging in to the current server as root and specifying a schedule in the crontab(1) file. For more information, see the crontab(1) man page. You can also run recycling on demand at any time.

When you run recycling, the recycler looks in the recycler.cmd(1M) and the archiver.cmd(1M) files for recycling directives. The recycler.cmd(1M) file specifies recycling directives for the libraries associated with the server you are administering.

To define recycler settings for libraries in the browser interface, go to the Storage Recycling page. The values you specify are reflected in the recycler.cmd(1M) file.

The archiver.cmd(1M) file specifies recycling directives for the volumes that are associated with archive policies. To define recycler settings for volumes associated with archive policies in the browser interface, go to the Archive Policy Based Recycling section of an archive policy copy. The values you specify are reflected in the archiver.cmd(1M) file.

  1. Log in to the server for which you want to run recycling.
  2. At the command line, type the following:
    sam-recycler
  3. Log out of the server.