Figure: Directing File Allocations shows how you might use the allocation policies to direct file allocations.
The /mnt file system has 3 volumes in its volume set: vol-01, vol-02, and vol-03. These volumes correspond to policy1, policy2, and policy3, respectively.
The file system has a policy assignment that allocates data as directed by policy1 and metadata as directed by policy2. These policies cause files to be allocated on vol-01 and vol-02, except for dir1, which has overriding assignments for allocation on vol-03.
When the file3 and file4 files are created, they are allocated on vol-02 as directed by the policy1 and policy2 assignments. When file1 and file2 are created, they are allocated on vol-03, as specified by policy3.
When file4 is created, the initial allocation is on vol-01 and vol-02. To move file4 to vol-03, assign policy3 to file4 and enforce that policy on the file. This reallocates file4 to vol-03.
To direct file allocations