
38 Sun StorageTek SAM Archive Configuration and Administration Guide • Version 4, Update 6, 04/07
Continuous Archiving
Continuous archiving is the default archiving method (the archiver.cmd file
parameter is examine=noscan). With continuous archiving, you can specify
scheduling start conditions for an archive set by using the -startage,
-startcount, and -startsize parameters. These conditions enable you to
optimize archive timeliness versus archive work done. For example:
■ If it takes an hour to create files that should be archived together, you can set the
-startage parameter to one hour (-startage 1h) to ensure that all files are
created before scheduling the archive request.
■ You can specify a -startsize of 150 gigabytes (-startsize 150g) to direct
the archiver to wait until 150 gigabytes of data are ready to be archived.
■ If you know that 3000 files will be generated for archival, you can specify
-startcount 3000 to ensure that the files are archived together.
When any of the scheduling start conditions is reached, the sam-arfind process
sends each archive request to the archiver daemon, sam-archiverd,tobe
scheduled for file copying to archive media.
For more information about archiving parameters see “Global Archiving Directives”
on page 52.
Note – When examine is set to noscan, the following default settings are
automatically implemented:
- startage: 10 minutes
- startsize: 10 gigabytes
- startcount: 10,000 files
Scanned Archiving
As an alternative to continuous archiving, you can specify examine=scan in the
archiver.cmd file to direct sam-arfind to examine files for archival using
scanning. Files needing archiving are placed into archive requests. The sam-arfind
process scans each file system periodically to determine which files need archiving.
The first scan is a directory scan, in which sam-arfind descends recursively
through the directory tree. The process examines each file and sets the file status flag
to archdone is set if the file does not need archiving. During successive scans, sam-
arfind scans the .inodes file. Only inodes with the archdone flag not set are
examined.
For information about controlling the setting of the archdone flag, see “The
setarchdone Directive: Controlling the Setting of the archdone Flag” on page 60.
Kommentare zu diesen Handbüchern