beautypg.com

Setting segment preferences – HP StoreAll Storage User Manual

Page 394

background image

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 the 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 the 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, StoreAll 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.

394 Using file allocation