
34 Sun StorageTek SAM Archive Configuration and Administration Guide • Version 4, Update 6, 04/07
The archiver starts automatically when a Sun StorageTek SAM file system is
mounted. You can customize the archiver’s operations for your site by inserting
archiving directives into the following file:
/etc/opt/SUNWsamfs/archiver.cmd
The archiver.cmd file does not need to be present for archiving to occur. In the
absence of this file, the archiver uses the following defaults:
■ All files are archived to available volumes.
■ The archive age for all files is 4 minutes. The archive age is the amount of time
since a file’s last modification.
■ The archive interval is 10 minutes. The archive interval is the amount of time that
elapses between complete archiving processes.
The following sections describe the concept of an archive set and explain the
operations performed during the archiving process.
Archiver Daemons
The sam-archiverd daemon schedules the archiving activity. The sam-arfind
process assigns files to be archived to archive sets. The sam-arcopy process copies
the files to be archived to the selected volumes.
The sam-archiverd daemon is started by sam-fsd when Sun StorageTek SAM
activity begins. The sam-archiver daemon executes the archiver(1M) command
to read the archiver.cmd file and builds the tables necessary to control archiving.
It starts a sam-arfind process for each mounted file system; if a file system is
unmounted, it stops the associated sam-arfind process. The sam-archiverd
process then monitors sam-arfind and processes signals from an operator or other
processes.
Archive Sets
An archive set identifies a group of files to be archived. Archive sets can be defined
across any group of file systems. Files in an archive set share common criteria that
pertain to the size, ownership, group, or directory location. The archive set controls
the destination of the archive copy, how long the copy is kept archived, and how
long the software waits before archiving the data. All files in an archive set are
copied to the volumes associated with that archive set. A file in the file system can
be a member of only one archive set.
Kommentare zu diesen Handbüchern