
Chapter 3 Archiving 71
Delaying Disk Space Release: -norelease
You might not want to release disk space until multiple archive copies are
completed. The -norelease option prevents the automatic release of disk cache
until all copies marked with -norelease are made.
This directive has the following format:
The -norelease directive makes the archive set eligible to be released after all
copies have been archived, but the files will not be released until the releaser is
invoked and selects them as release candidates.
CODE EXAMPLE 3-18 specifies an archive set named vault_tapes. Two copies are
created, but the disk cache associated with this archive set is not released until both
copies are made.
Using the -norelease directive on a single copy has no effect on automatic
releasing.
Using -release and -norelease Together
If you want to make sure that the disk space is released immediately after all copies
of an archive set have been archived, you can use the -release and -norelease
options together. The combination of -release and -norelease causes the
archiver to release the disk space immediately, when all copies having this
combination are made, rather than waiting for the releaser to be invoked, as is the
case with the -norelease option alone.
Setting the Archive Age
You can set the archive age for files by specifying the archive age in the archive copy
directive. The archive age can be specified with a suffix character such as h for hours
or m for minutes as shown in
TABLE 3-2.
-norelease
CODE EXAMPLE 3-18 An archiver.cmd File Using the -norelease Directive
vault_tapes
1 -norelease 10m
2 -norelease 30d
Comentarios a estos manuales