Installation manual

Grouping Files into Filesets
Grouping Files by Age
CLI Storage-Management Guide 13-15
Removing a File Selection
Use the no select-files command to remove a file selection:
no select-files {older-than | newer-than}
where older-than | newer-than chooses the selection to remove.
For example, this removes the “older-than” selection from a simple-age fileset:
bstnA6k(gbl)# policy-simple-age-fileset 2mo
This will create a new policy object.
Create object '2mo'? [yes/no] yes
bstnA6k(gbl-ns-vol-fs-simple-age[2mo])# no select-files older-than
bstnA6k(gbl-ns-vol-fs-simple-age[2mo])# ...
Choosing Last-Accessed or Last-Modified
The next step in configuring a simple-age fileset is to determine whether it selects
files by last-accessed time or last-modified time. The default is last-modified time.
From gbl-ns-vol-fs-simple-age mode, use the
last command to choose the age type:
last {accessed | modified}
where accessed | modified is a required choice.
For example, the following command set configures the “dayOld” fileset to select its
files based on last-accessed time:
bstnA6k(gbl)# policy-simple-age-fileset dayOld
bstnA6k(gbl-ns-vol-fs-simple-age[dayOld])# last accessed
bstnA6k(gbl-ns-vol-fs-simple-age[dayOld])# ...
We do not recommend using last-accessed times for selecting directories in CIFS or
multi-protocol (CIFS and NFS) namespaces. CIFS filers update a directory’s
last-accessed time whenever the policy engine reads the time stamp; this can cause
unexpected directory migrations for directories that have not been accessed by any
clients. NFS-only filers do not have this problem, nor is it a problem with file access.