
Chapter 4 Releasing 121
User Option Summary
As system administrator, you can set maximum and default values for the size of a
file stub that can remain in disk cache after the file is released. You can also
determine whether the partial release feature is enabled for a particular file system.
By using the release(1) command and the sam_release(3) library routines,
however, a user can set other release attributes and can specify the files to be marked
for partial release. The command and library options that determine partial release
attributes are shown in
TABLE 4-2. For more information about the release(1)
command, see the release(1) man page. For more information about the
sam_release(3) library routine, see the sam_release(3) man page.
About the releaser.cmd File
The /etc/opt/SUNWsamfs/releaser.cmd file consists of directive lines that
specify site-specific releasing actions. The releaser.cmd file can contain directives
for setting the release priority, specifying a log file, and other actions.
TABLE 4-2 User Release Options
Options Effect
release(1) command and –p option
or
sam_release(3) library routine and p option
The –p and p options mark the named file for
partial release. If these options are used, the
amount of the file remaining in online disk cache
after the file is released depends on the value of
the –o partial=n option that was set when the
file system in which the file resides was mounted.
These options cannot be used to specify the
number of bytes to remain online.
release(1) command and –s partial_size option
or
sam_release(3) library routine and s option
The –s and s options mark the named file for
partial release, and they specify the amount of the
file to remain in online disk cache. The arguments
to the –s or s options specify the amount, in
kilobytes, to remain online.
A user cannot specify that the amount of a file
remaining online be greater than the amount
specified for the –o maxpartial=n value when
the file system was mounted. If the user’s value is
greater than the value for the file system, the
value for the file system is used, and the user’s
specification is ignored.
Komentarze do niniejszej Instrukcji