Installation manual

Migrating Filesets
Directing File Placement
14-12 CLI Storage-Management Guide
Each new file and directory, as in the previous example, follows its parent’s master
directory. Directory /a/b grows on das8 while new files in /a continue to gravitate to
das3:
In the
from fileset command, you can use match all to match both files and directories.
Keep the
promote-directories flag, to make the selected directories (such as /a/b/c)
“master” at the target filer. This causes the placement illustrated above:
from fileset fileset-name match all promote-directories
where
fileset-name (1-64 characters) identifies the source fileset,
match all applies the fileset to both files and directories, and
promote-directories promotes all matching directories on the target filer to
master.
For example, the following command set migrates the directories that match the
“a_b_tree” fileset:
bstnA6k(gbl)# namespace wwmed
bstnA6k(gbl-ns[wwmed])# volume /acct
bstnA6k(gbl-ns-vol[wwmed~/acct])# place-rule mvtree
/acct
wwmed
/a
/a/b
das3 das8
/a/b/c
!
!
!
!
!
/a
/a/b
/a
/a/b
/a/b/c
!
!
!
!
!
is a new file
!
is a new directo
ry
!
!
!
!
!