Installation manual

CLI Storage-Management Guide 13-1
Chapter 13
Grouping Files into Filesets
A fileset is a group of files and/or directories to which you can apply replication and
migration policies. You can configure filesets based on filename, directory path, size,
and/or age. You can create complex filesets by joining multiple filesets in a union or
taking the intersection of two or more filesets.
Direct volumes, which contain no metadata, do not support any filesets. This chapter
is relevant to managed volumes only.
This chapter explains how to create filesets, and the next chapter explains how to use
policies to migrate them to your desired back-end filer(s).
Grouping Files by Filename
You can group files by their names and/or directory path. From gbl mode, use the
policy-filename-fileset command to create a name-based fileset:
policy-filename-fileset name
where name (1-64 characters) is a required name that you assign to the fileset.
The CLI prompts for confirmation before creating a new fileset; enter yes to continue.
This puts you into gbl-ns-vol-fs-name mode, where you can optionally specify paths
and/or filenames for files that belong in the set. By default, a new filename fileset
matches all files and directories in a volumes root directory, but none below the root.
For example, the following command sequence creates a default named-based fileset,
“xmlFiles:”
bstnA6k(gbl)# policy-filename-fileset xmlFiles
This will create a new policy object.