Veritas Storage Foundation 5.1 SP1 Advanced Features Administrator"s Guide (5900-1503, April 2011)

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 vole tier3 vole a_to_z /mnt1/mds1/d1/file1
tier3 vole tier3 vole a_to_z /mnt1/mds1/d1/file2
tier3 vole tier3 vole a_to_z /mnt1/mds1/d1/d2/file3
tier3 volf tier3 volf 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
File placement policy grammar
VxFS allocates and relocates files within a multi-volume file system based on
properties in the file system metadata that pertains to the files. Placement
decisions may be based on file name, directory of residence, time of last access,
access frequency, file size, and ownership. An individual file system's criteria for
Administering SmartTier
File placement policy grammar
346