Veritas File System 4.1 Administrator's Guide (HP-UX 11i v3, February 2007)
Quality of Storage Service
Configuring Relocation Policies
Chapter 10138
-p policy Evaluates files based on the specified policy only. If not specified, fssweep evaluates
files based on all configured policies.
-r Reports a statistical summary of files that can be relocated to standard output without
actually relocating any files. The report is the same as the fsmove statistical summary.
-s size Sets a limit for the cumulative size of all files in kilobytes for the fsmove utility to
relocate.
-t time Sets a limit for the cumulative time in seconds for running fssweep.
filesystem Evaluates files only in the specified filesystem. If you do not specify filesystem,
fssweep evaluates all multi-volume file systems defined in the configuration file,
starting at their mount points.
Running fsmove
The fsmove command uses the following syntax:
fsmove [destination path1 [path2,path3,...]
The fsmove utility relocates files to a destination component volume. The destination component volume
and the files or directories are specified by the fssweep utility. The fsmove utility reads standard input
and moves all files it reads from the output stream.
If you specify an optional destination and one or more path names, the fsmove utility moves the specified
file or files to the destination component volume and exits. If you specify a directory, fsmove recursively
searches through all files and subdirectories in the specified directory and moves all the files to the specified
destination component volume.
The fsmove Command Options
Option Description
destination Specifies a destination component volume for the specified file or directory.
path Specifies directory or file names to relocate to a destination volume.
After the command completes processing, it writes a statistical summary with the following headings to
standard output:
source_volume The source component volume where the file originally resided.
destination_volume The destination component volume to which to relocate the file.
number_of_files_relocated The cumulative number of all files relocated.