Installation manual

Migrating Filesets
Directing File Placement
14-2 CLI Storage-Management Guide
Directing File Placement
You can use fileset policies to steer files and/or directories onto specific storage
targets. You choose the files/directories by configuring a fileset for them, and you
choose the storage target by creating a placement rule in the volume. This is the same
placement rule that can move everything off of a share (refer back to “Draining One
or More Shares” on page 12-35); the difference is that you can use a dynamic fileset
as the source rather than a static share. The target for file placement can be a share or
a share farm in the current volume.
For example, you could direct all of the volume’s HTML files to a particular share, or
you could migrate an entire directory tree from one share to another. You could also
configure the switch to move all files that have not been read for over a week onto a
share farm with slower back-end performance.
From gbl-ns-vol mode, use
place-rule to create a new placement rule:
place-rule name
where name (1-64 characters) is a name you choose for the rule.
This puts you into gbl-ns-vol-plc mode, where you must choose a source fileset, set
the storage target for the files, and enable the rule. There are also some optional
commands you can invoke from this mode.
For example, the following command sequence creates an empty placement rule,
“docs2das8,” for the volume, “wwmed~/acct:”
bstnA6k(gbl)# namespace wwmed
bstnA6k(gbl-ns[wwmed])# volume /acct
bstnA6k(gbl-ns-vol[wwmed~/acct])# place-rule docs2das8
bstnA6k(gbl-ns-vol-plc[wwmed~/acct~docs2das8])# ...