US Robotics 7931 Podręcznik Użytkownika Strona 148

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 288
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 147
124 Sun StorageTek SAM Archive Configuration and Administration Guide Version 4, Update 6, 04/07
CODE EXAMPLE 4-2 shows lines in a releaser.cmd file specifying that only the file’s
residence age be considered, and that the modification age and the access age be
ignored, when the release priority of a file is calculated.
After a file’s age-related priority is calculated, it is multiplied by the file’s size-
related priority. The size-related priority is calculated as described in the following
section.
File Size
The releaser considers a file’s size when determining the size-related component of a
file’s release priority. The size of the file (in 4-kilobyte blocks) is multiplied by the
weight specified for the weight_size directive to determine the size-related
component of a file’s release priority.
The format of the weight_size directive is as follows:
For float, specify a floating-point number from 0.0 through 1.0. By default, float = 1.0.
CODE EXAMPLE 4-3 shows a releaser.cmd file specifying that the file size is to be
ignored for all files in the samfs1 and samfs2 file system when the release priority
of a file is calculated.
CODE EXAMPLE 4-2 releaser.cmd File Fragment
weight_age_residence = 1.0
weight_age_modify = 0.0
weight_age_access = 0.0
weight_size = float
CODE EXAMPLE 4-3 releaser.cmd File
# releaser.cmd file
logfile = /var/adm/default.releaser.log
weight_size = 0.0
#
fs = samfs1
weight_age = 1.0
logfile = /var/adm/samfs1.releaser.log
#
fs = samfs2
weight_age_modify = 0.3
weight_age_access = 0.03
weight_age_residence = 1.0
logfile = /var/adm/samfs2.releaser.log
Przeglądanie stron 147
1 2 ... 143 144 145 146 147 148 149 150 151 152 153 ... 287 288

Komentarze do niniejszej Instrukcji

Brak uwag