Adding an Affinity
4Locate the stripe group section and select the stripe group to which you want to add the affinity.
Following is part of a stripe group configuration with an affinity definition:
[StripeGroup StripeGroup2] Status UP
Affinity aff1 Read Enabled Write Enabled StripeBreadth 16 Node disk2 0
StripeGroup StripeGroup3] Status UP
Affinity aff2 Read Enabled Write Enabled StripeBreadth 16 Node disk3 0 Node disk4 1 Node disk5 2
If you create a directory association with Affinity aff1, all data written to that directory is written to StripeGroup StripeGroup2, and therefore only to Disk 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.
5Add the affinity to the selected stripe group with a line entry in this format:
Affinity <affinity_name>
where <affinity_name> is the name of the affinity. (Affinity names cannot be longer than eight characters.)
Following is an example of a stripe group configuration after an affinity was added. The affinity line is the flag for the Data1 stripe group.
[StripeGroup Data1]
Status UP
Read Enabled
Write Enabled
StorNext User’s Guide | 334 |