
Chapter 3 Archiving 53
The archmax Directive: Controlling the Size of Archive Files
The archmax directive specifies the maximum size of an archive file. User files are
combined to form the archive file. No more user files are added to the archive file
after the target-size value is met. Large user files are written in a single archive file.
To change the defaults, use the following directive:
There are advantages and disadvantages to setting large or small sizes for archive
files. For example, if you are archiving to tape and archmax is set to a large size, the
tape drive stops and starts less often. However, when writing large archive files,
there is the possibility that when an end-of-tape is reached prematurely, a large
amount of tape can be wasted. As a rule, archmax should not be set to more than 5
percent of the media capacity.
The archmax directive can also be set for an individual archive set.
Note – The archmax directive is not a valid directive for archive sets that will be
archived to the Sun StorageTek 5800 media type.
The bufsize Directive: Setting the Archiver Buffer Size
By default, a file being archived is copied to archive media using a memory buffer.
You can use the bufsize directive to specify a nondefault buffer size and,
optionally, to lock the buffer. These actions can improve performance, and you can
experiment with different buffer-size values.
This directive has the following format:
archmax=media target-size
TABLE 3-3 Arguments for the archmax Directive
Argument Meaning
media The media type. For the list of valid media types, see the mcf(4) man page.
target-size The maximum size of the archive file. This value is media-dependent. By
default, archive files written to optical disks are no larger than 5 megabytes.
The default maximum archive file size for tapes is 512 megabytes.
bufsize=media buffer-size [lock]
Comentarios a estos manuales