Storage Management
202
Titan SiliconServer
Understanding AND & OR Usage in Rules
When
AND
is used in the middle of two rule statements, the rule expects both statements to be
satisfied.
For example:
INCLUDE (<FILENAME *.mp3> AND <FILE_SIZE_OVER 5GB>)
In the above rule there are two conditions:
1.
All files with the .mp3 name may be included.
2.
All files that are 5 GB or bigger in size may be included.
The importance of the AND here is that a 5 GB
.pdf file cannot be included because it does not
satisfy the first condition. A 4 GB .mp3 file cannot be included because it does not satisfy the
second condition. So, only .mp3 files that are 5 GB or more in size satisfy both conditions of the
rule and will be included for migration.
If
OR
was used instead of AND in the above example:
INCLUDE (<FILENAME *.mp3> OR <FILE_SIZE_OVER 5GB>)
UNCHANGED_OVER
Identifies files that have not been modified within a specific
number of days. A file’s modification time is updated
whenever the file’s contents have been changed. The value is
appended to the keyword and is defined by the number of
days of inactivity.
Usage:
Used primarily in INCLUDE statements to ensure that older,
less frequently used files are migrated.
For example:
<UNCHANGED_OVER 14>
CHANGED_SINCE
Identifies files that have been modified within a specific
number of days. A file’s last access time is updated
whenever the file’s contents have been changed. The value
is appended to the keyword and is defined by the number of
days of inactivity.
Usage:
Used primarily in EXCLUDE statements to prevent actively
used files from being migrated.
For example:
<CHANGED_SINCE 7>