User's Manual

hp StorageWorks File System Extender User Guide 123
You define a deletion policy with pairs of FileExpiration and Path variables. Each specified
FileExpiration variable requires a corresponding Path variable.
File expiration time (FileExpiration)
Directory paths (Path)
Notes
When specifying the FileExpiration and Path variables for the deletion policy of an FSE partition,
keep in mind the following rules:
Directory paths are relative to the mount point of the HSM file system (the directory where the HSM file
system is mounted).
Directory paths that contain spaces must be enclosed within double quotes ("").
A particular directory path cannot be specified more than once.
Examples of a configured deletion policy
The following are two excerpts from FSE partition configuration files. They show examples of the configured
deletion policies for various platforms of the FSE client, and their explanations.
Linux specific
This deletion policy will have the following effect:
All files in the directory /archive/permanent_files on the owning HSM file system will never be
considered for deletion.
All files in the directories "/tmp/daily reports" and /tmp/temporary are to be considered for
deletion as soon as two days have passed since they were last changed.
Definition A period of time that determines which files in the specified Path directories are to be
considered for deletion. The following units are available for specifying the time period:
s (seconds), m (minutes), h (hours), D (days), M (months), and Y (years).
Impact This variable determines the files to consider for deletion by checking the period of time
since each file on the HSM file system was last changed; files changed more than
FileExpiration time ago are added to the file list.
If the UNLIMITED value is specified for the FileExpiration variable, the files will
never be considered for deletion. However, you can still delete such files manually using
operating system utilities.
Definition A set of directory paths on the HSM file system on whose files the corresponding file
expiration period FileExpiration is considered.
Impact During a deletion job, all files located in the directories specified by the Path variable
(including all subdirectories), and for which the corresponding expiration period has
passed, are deleted from the HSM file system.
[Delete]
FileExpiration "UNLIMITED"
{
Path = (/archive/permanent_files)
}
FileExpiration "2D"
{
Path = ("/tmp/daily reports", /tmp/temporary)
}