
40 Sun StorageTek SAM Archive Configuration and Administration Guide • Version 4, Update 6, 04/07
The sam-archiverd daemon determines whether the files are online or offline. If
both online and offline files are in the archive request, the online files are selected for
archiving first.
If the archive request was not required to be joined or sorted by a sort method, the
offline files are ordered by the volume on which the archive copies reside. This
ensures that all files in each archive set on the same volume are staged at the same
time in the order in which they were stored on the media. When more than one
archive copy of an offline file is being made, the offline file is not released until all
required copies are made. All the files to be staged from the same volume as the first
file are selected for archiving.
Note – The -join, -sort, and -rsort parameters can have a negative effect on
performance during archiving of offline files if the order of the files to be archived
does not match the order of the volumes needed for the offline files. Use these
parameters only for the first archive copy to be made. Other copies should maintain
the order of the first copy if enough archive media space is available when the copies
are started.
After being composed, the archive requests are entered in the sam-archiverd
daemon’s scheduling queue, as described in the next section.
Step 3: Scheduling Archive Requests
The scheduler in the sam-archiverd daemon executes on demand when one of the
following conditions exists:
■ An archive request is entered in the scheduling queue.
■ The archiving for an archive request has been completed.
■ A change in media status is received from the catalog server.
■ A message is received that changes the state of the archiver.
The archive requests in the scheduling queue are ordered by priority. Each time the
scheduler runs, all archive requests are examined to determine whether they can be
assigned to a sam-arcopy process to have their files copied to archive media.
The following must be true in order for archive requests to be scheduled:
■ Drives must be available for making file copies.
■ Volumes must be available that can be used by the archive set and that have
sufficient space to hold the files in the archive request.
Comentários a estes Manuais