Veritas™ File System 5.0.1 Administrator's Guide

You can specify the -T option to specify the placement classes that contain files
for the fsppadm command to sweep and relocate selectively. You can specify the
-T option only if the policy uses the Prefer criteria forIOTEMP.
See the fsppadm(1M) manual page.
The following example uses the fsppadm enforce command to enforce the file
placement policy for the file system at mount point /mnt1, and includes the access
time, modification time, and file size of the specified paths in the report,
/tmp/report.
To enforce a placement policy
Enforce a placement policy for a file system:
# fsppadm enforce -a -r /tmp/report /mnt1
Current Current Relocated Relocated
Class Volume Class Volume Rule File
tier3 dstvole tier3 dstvole a_to_z /mnt1/mds1/d1/file1
tier3 dstvole tier3 dstvole a_to_z /mnt1/mds1/d1/file2
tier3 dstvole tier3 dstvole a_to_z /mnt1/mds1/d1/d2/file3
tier3 dstvolf tier3 dstvolf a_to_z /mnt1/mds1/d1/d2/file4
.
.
.
Sweep path : /mnt1
Files moved : 42
KB moved : 1267
Tier Name Size (KB) Free Before (KB) Free After (KB)
tier4 524288 524256 524256
tier3 524288 522968 522968
tier2 524288 524256 524256
tier1 524288 502188 501227
Validating a placement policy
The following example uses the fsppadm validate command to validate the
placement policy policy.xml against all mounted file systems.
To validate a placement policy against all mounted file systems
Validate the placement policy:
# fsppadm validate /tmp/policy.xml
149Dynamic Storage Tiering
Administering placement policies