6.0 HP X9000 File Serving Software File System User Guide (TA768-96043, October 2011)

Setting a file allocation policy
To set a file allocation policy, use the following command:
ibrix_fs_tune -f FSNAME {-h HOSTLIST|-g GROUPLIST} s LVNAMELIST p POLICY [-S STARTSEGNUM]
For example, to set the ROUNDROBIN policy for files only on NFS-exported file system ifs1 on
file serving node s1.hp.com, starting at segment ilv1:
ibrix_fs_tune -f ifs1 -h s1.hp.com -p ROUNDROBIN -s ilv1
Setting a directory allocation policy
To set a directory allocation policy, use the following command. The -R argument declares that
the policy is for directories only.
ibrix_fs_tune -f FSNAME {-h HOSTLIST|-g GROUPLIST} -p POLICY [-S STARTSEGNUM] [-R]
For example, to set the ROUNDROBIN directory allocation policy on NFS-exported file system
ifs1 for file serving node s1.hp.com, starting at segment ilv1:
ibrix_fs_tune -f ifs1 -h s1.hp.com -p ROUNDROBIN -R
Setting segment preferences
There are two ways to prefer segments for X9000 clients, NFS/CIFS servers, or hostgroups:
Prefer a pool of segments for the clients to use.
Prefer a single segment for files created by a specific user or group on the clients.
Both methods can be in effect at the same time. For example, you can prefer a segment for a user
and then prefer a pool of segments for the clients on which the user will be working.
If you have set segment preferences and need to change them later on, use the ibrix_fs_tune
command to specify the new segment preferences.
Creating a pool of preferred segments
A segment pool can consist of individually selected segments, all segments local to an NFS/CIFS
server, or all segments. Clients will apply the allocation policy that is in effect for them to choose
a segment from the segment pool.
NOTE: Segments are always created in the preferred condition. If you want to have some segments
preferred and others unpreferred, first select a single segment and prefer it. This action unprefers
all other segments. You can then work with the segments one at a time, preferring and unpreferring
as required. By design, the system cannot have zero preferred segments. If only one segment is
preferred and you unprefer it, all segments become preferred.
When preferring multiple pools of segments (for example, one for X9000 clients and one for
NFS/CIFS clients), make sure that no segment appears in both pools.
Use the following command to specify the pool by logical volume name (LVNAMELIST):
ibrix_fs_tune -f FSNAME {-h HOSTLIST|-g GROUPLIST} -s LVNAMELIST
Use the following command and the LOCAL keyword to create a pool of all segments on NFS/CIFS
servers. Use the ALL keyword to restore the default segment preferences (for more information see
“Restoring the default segment preference” (page 157)).
ibrix_fs_tune -f FSNAME {-h HOSTLIST|-g GROUPLIST} -S {SEGNUMLIST|ALL|LOCAL}
Restoring the default segment preference
The default is for all file system segments to be preferred. Use the following command to restore
the default value:
ibrix_fs_tune -f FSNAME {-h HOSTLIST|-g GROUPLIST} -S ALL
Setting segment preferences 157