Veritas™ File System 5.0.1 Administrator's Guide
Querying which files will be affected by enforcing a placement policy
The following example uses the fsppadm query command to generate a list of
files that will be affected by enforcing a placement policy. The command provides
details about where the files currently reside, to where the files will be relocated,
and which rule in the placement policy applies to the files.
To query which files will be affected by enforcing a placement policy
◆
Query the files that will be affected:
# fsppadm query /mnt1/dir1/dir2 /mnt2 /mnt1/dir3
Enforcing a placement policy
Enforcing a placement policy for a file system requires that the policy be assigned
to the file system. You must assign a placement policy before it can be enforced.
See “Assigning a placement policy” on page 147.
Enforce operations are logged in a hidden file, .__fsppadm_enforce.log, in the
lost+found directory of the mount point. This log file contains details such as
files' previous locations, the files' new locations, and the reasons for the files'
relocations. The enforce operation creates the .__fsppadm_enforce.log file if
the file does not exist. The enforce operation appends the file if the file already
exists. The .__fsppadm_enforce.log file can be backed up or removed as with a
normal file.
You can specify the -F option to specify a placement policy other than the existing
active placement policy. This option can be used to enforce the rules given in the
specified placement policy for maintenance purposes, such as for reclaiming a
LUN from the file system.
You can specify the -p option to specify the number of concurrent threads to be
used to perform the fsppadm operation. You specify the io_nice parameter as an
integer between 1 and 100, with 50 being the default value. A value of 1 specifies
1 slave and 1 master thread per mount. A value of 50 specifies 16 slaves and 1
master thread per mount. A value of 100 specifies 32 slaves and 1 master thread
per mount.
You can specify the -C option so that the fsppadm command processes only those
files that have some activity stats logged in the File Change Log (FCL) file during
the period specified in the placement policy. You can use the -C option only if the
policy’s ACCESSTEMP or IOTEMP elements use the Prefer criteria.
Dynamic Storage Tiering
Administering placement policies
148