
Chapter 6 Managing the File System
Working With Affinities
Working With Affinities
An affinity is a label assigned to one or more stripe groups. An affinity enables you to direct data to its associated stripe groups. A file system can have one or more affinities associated with it. These associations, defined in stripe groups, are made with the affinity key to a directory or file.
For example, if you create a directory association with Affinity aff1, all data written to that directory is written to StripeGroup StripeGroup2, and therefore only to disk2.
If you make an association with Affinity aff2 and a separate directory in the file system, all data is directed to StripeGroup StripeGroup3, which contains three disks: disk3, disk4, and disk5. All data is written to these disks when directed to the associated directory with Affinity aff2.
| This section includes the following topics: | ||
| • | Adding an Affinity | |
| • Adding an Affinity Through SNFS | ||
| • Setting the Affinity in a Directory | ||
| • | Modifying an Affinity | |
| • | Deleting an Affinity | |
| • File System Configuration Restrictions | ||
| Use the following procedure to add an affinity to a configured file | ||
Adding an Affinity | |||
system. | |||
| |||
| 1 | From the StorNext home page, select Add Affinity from the Config | |
|
| menu. The Add Affinity Introduction screen appears, showing a list | |
|
| of existing configured file systems to which you can add an affinity. |
StorNext User’s Guide | 121 |