VERITAS File System 4.1 Administrator's Guide

Quality of Storage Service
Configuring Relocation Policies
Chapter 10 153
Configuring Relocation Policies
Relocation policies define the files to relocate and the physical devices on which the files are
located. Relocation policies are based on the following properties of a file:
Age: The time since the file was last accessed or last modified.
File size
Path: The location of a file in a directory structure.
File name pattern: The similarly named output files of an application or a common
extension such as *.gif.All shell wild cards may be specified.
Source component volume
Destination component volume
If a file has multiple component volumes, you can configure relocation policies using the
VERITAS Enterprise Administrator (VEA) GUI or the command-line interface. See the
VERITAS Volume Manager User’s Guide-VERITAS Enterprise Administrator for information
on configuring QoSS using the VEA GUI.
NOTE You must install the VRTSfppm package to use the QoSS feature.
Running fssweep
The fssweep command uses the following syntax:
fssweep [-n count -s size -t time] [-p policy] [-r] [filesystem]
The fssweep utility traverses the directory structure of one or more file systems, selecting
files that meet criteria specified in relocation policies. The fssweep utility writes either a list
of selected file names and destination volumes, or a statistical summary of selected files, to
standard output.
The list of volumes that can be used for file relocation is based on the destination component
volumes defined by the QoSS configuration. By default, fssweep writes the files and
destination volumes to standard output.
You can specify the criteria for selecting files for relocation using Command Options.
Following are the fssweep Command Options.