Policy for Balancing CapacityAdding a Share FarmCLI Storage-Management Guide 12-25Not Constraining DirectoriesUse no constrain-directories to remove directory placement restrictions and have newdirectories distributed as directed by one of the balance commands.no constrain-directoriesFor example:bstnA6k(gbl)# namespace ns2bstnA6k(gbl-ns[ns2])# volume /varbstnA6k(gbl-ns-vol[ns2~/var])# share-farm fm2bstnA6k(gbl-ns-vol-sfarm[ns2~/var~fm2])# no constrain-directoriesbstnA6k(gbl-ns-vol-sfarm[ns2~/var~fm2])# ...Distributing When a Share is UnavailableWhen new-file or new-directory distribution is constrained, a user may get an error ifone share in the farm is unavailable (offline or otherwise unusable). The share farm isconstrained to creating the new file or directory on the same share as its parent, so theuser gets a create error if that share goes offline. The unavailable share is removedfrom the new-file-balancing rotation automatically, unless a constrain command isused.Enabling All Share-Farm RulesThe final step in configuring a share farm is to enable its rules. By default, theshare-farm and its rules are disabled and ignored by policy software. Fromgbl-ns-vol-sfarm mode, use the enable command to enable the share farm:enableFor example, the following command sequence enables the ‘fm1’ share farm:bstnA6k(gbl)# namespace wwmedbstnA6k(gbl-ns[wwmed])# volume /acctbstnA6k(gbl-ns-vol[wwmed~/acct])# share-farm fm1bstnA6k(gbl-ns-vol-sfarm[wwmed~/acct~fm1])# enablebstnA6k(gbl-ns-vol-sfarm[wwmed~/acct~fm1])# ...