Veritas™ File System 5.0.1 Administrator's Guide

</SOURCE>
</FROM>
<TO>
<DESTINATION>
<CLASS>tier2</CLASS>
</DESTINATION>
<DESTINATION>
<CLASS>tier3</CLASS>
</DESTINATION>
</TO>
<WHEN>
<IOTEMP Type="nrbytes">
<MAX Flags="lt">4</MAX>
<PERIOD>3</PERIOD>
</IOTEMP>
</WHEN>
</RELOCATE>
This rule relocates files whose 3-day I/O temperatures are less than 4 and which
reside on tier1 volumes. When VxFS calculates that already-relocated files would
result in tier2 volumes being fully occupied, VxFS relocates qualifying files to
tier3 volumes instead. VxFS relocates qualifying files as it encounters them in
its scan of the file system directory tree.
The <FROM> clause in the RELOCATE statement is optional. If the clause is not
present, VxFS evaluates files designated by the rule's SELECT statement for
relocation no matter which volumes they reside on when the fsppadm enforce
command is issued. The following example illustrates a fragment of a policy rule
that relocates files according to their sizes, no matter where they reside when the
fsppadm enforce command is issued:
<RELOCATE>
<TO>
<DESTINATION>
<CLASS>tier1</CLASS>
</DESTINATION>
</TO>
<WHEN>
<SIZE Units="MB">
<MAX Flags="lt">10</MAX>
</SIZE>
</WHEN>
</RELOCATE>
<RELOCATE>
Dynamic Storage Tiering
File placement policy rules
166