Installation manual

Grouping Files into Filesets
Grouping Files by Age
CLI Storage-Management Guide 13-17
Setting the Age-Evaluation Interval (optional)
By default, the simple-age fileset selects all of its files whenever it is used by a rule.
For example, suppose a file-placement rule uses a simple-age fileset that selects files
newer than 3 hours. (A later chapter explains how to use a file-placement rule with
filesets.) Every time the file-placement rule runs, the simple-age fileset selects the
files that are newer than three hours at that moment. If this is sufficient, you can skip
this section.
Some installations may want to regulate the file selection. You can configure a
simple-age fileset to select its files on a schedule, such as “every 2 hours” or “every
Wednesday.” Whenever any rule uses a scheduled fileset, the files are already
selected. From gbl-ns-vol-fs-simple-age mode, use the
every command to choose a
regular age-evaluation interval for the current fileset:
every number {minutes | hours | days | weeks | months | quarters |
years}
or
every day-of-week
where you can choose between two formats:
every number unit, where the number is an integer and unit is minutes,
hours, days, weeks, months, or years. For example, every 15 minutes, every
3 weeks, every 4 days, or every 1 years.
every day-of-week, where the day-of-week is the full name of the day in
lower case. For example, every monday, every wednesday, or every
sunday.
For example, the following command set configures the “dayOld” fileset to re-select
its files every half hour:
bstnA6k(gbl)# policy-simple-age-fileset dayOld
bstnA6k(gbl-ns-vol-fs-simple-age[dayOld])# every 30 minutes
bstnA6k(gbl-ns-vol-fs-simple-age[dayOld])# ...