6.1 HP IBRIX X9000 Network Storage System File System User Guide (TA768-96061, June 2012)

Setting file and directory allocation policies from the CLI
Allocation policy names are case sensitive and must be entered as uppercase letters (for example,
RANDOM).
Set a file allocation policy:
ibrix_fs_tune -f FSNAME {-h HOSTLIST|-g GROUPLIST} s LVNAMELIST p POLICY [-S STARTSEGNUM]
The following example sets the ROUNDROBIN policy for files only on 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
Set a directory allocation policy:
Include the -R option to specify that the command is for a directory.
ibrix_fs_tune -f FSNAME {-h HOSTLIST|-g GROUPLIST} -p POLICY [-S STARTSEGNUM] [-R]
The following example sets the ROUNDROBIN directory allocation policy on 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 file serving nodes, X9000 clients, or hostgroups:
Prefer a pool of segments for the hosts 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.
On the GUI, open the Modify Filesystem Properties dialog box and select the Segment Preferences
tab.
198 Using file allocation