How to Use the Rebalance File System Utility

on specified source Segments and move them to the specified target Segments
on a typical "source to target(destination)" rebalance job. So one can initiate a
rebalance job to balance said source Segments by distributing the overflow of
excess files across that of the specified target(destination) Segments and by
calling the -O "-p all" option you are telling rebalance utiltiy to randomly migrate
all sized files from source "-s" Segments to respective target(destination) "-d"
Segments. This type of reblance job could assist with reclaiming large numbers
of inodes for any particular Segments which may be running low on inodes=ffree
by distributing the files to Segments with a wealth of inodes=ffree available. The
following CLI is a syntax example of such a rebalance job:
#/usr/local/ibrix/bin/ibrix_rebalance -r -f ibrixfs -c -s 16,28,9 -d 21,25,22 -O "-p all"
Alternatively if for specific cases where a File System's Segments were running
short on free blocks =bfree, one could use the rebalance utility -O "-p large" to
move large files (files >100MB) in order to free up a blocks=bfree shortage on
any particular Segment[s]. The following CLI is a syntax example of such a
rebalance job:
#/usr/local/ibrix/bin/ibrix_rebalance -r -f ibrixfs -c -s 21,25,24 -d 2,4,5,7 -O "-p
large"
Caution: Please be careful of File System's where a directory file policy is in use
the rebalance may not be desired. Contact Ibrix Support to verify the intended
rebalance job will not have an adverse effect on any existing FS policy.
How to Monitor or Stop a Rebalance Job:
If you or customer are satisfied with the rebalance run you can list the job id and
then stop it referencing the following sequence example.
1. On the FM run this command to list the job id of the current rebalance.
#/usr/local/ibrix/bin/ibrix_rebalance -i
FileSystem: ibrixfs
JOB RUNNING?
ibrixfs_rebalance_20080602_131001 Yes
2. Then stop the current rebalance job like so:
#/usr/local/ibrix/bin/ibrix_rebalance -k -j ibrixfs_rebalance_20080602_131001
Last modified: 7/31/2008