
54 Sun StorageTek SAM Archive Configuration and Administration Guide • Version 4, Update 6, 04/07
You can specify a buffer size and a lock on an archive set basis by using the
-bufsize and -lock archive set copy parameters. For more information, see
“Archive Set Copy Parameters” on page 73.
The drives Directive: Controlling the Number of Drives
Used for Archiving
By default, the archiver uses all of the drives in an automated library for archiving.
To limit the number of drives used, use the drives directive.
This directive has the following format:
TABLE 3-4 Arguments for the bufsize Directive
Argument Meaning
media The media type. For the list of valid media types, see the mcf(4) man page.
buffer-size A number from 2 through 1024. The default is 4. This value is multiplied by
the dev_blksize value for the media type, and the resulting buffer size is
used. The dev_blksize value is specified in the defaults.conf file. For
more information on this file, see the defaults.conf(4) man page.
lock Indicates whether the archiver should use locked buffers when making
archive copies. If lock is specified, the archiver sets file locks on the archive
buffer in memory for the duration of the sam-arcopy(1M) operation. This
avoids the overhead associated with locking and unlocking the buffer for each
I/O request and can thereby result in a reduction in system CPU time.
The lock argument should be specified only on large systems with large
amounts of memory. Insufficient memory can cause an out-of-memory
condition.
The lock argument is effective only if direct I/O is enabled for the file being
archived. By default, lock is not specified and the file system sets the locks
on all direct I/O buffers, including those for archiving. For more information
on enabling direct I/O, see the setfa(1) man page, the sam_setfa(3) library
routine man page, or the -O forcedirectio option on the
mount_samfs(1M) man page.
drives=auto-lib count
TABLE 3-5 Arguments for the drives Directive
Argument Meaning
auto-lib The family set name of the automated library as defined in the mcf file.
count The number of drives to be used for archiving activities.
Commentaires sur ces manuels