Segment Full Alert: Using Ibrix_Rebalance to Resolve a Segment 90% Full Alert
but the source to destination rebalance requires that you monitor the job itself every 15
minutes or so for a few hours or until the source segments' USED% is close or equal to
that of the destination segments' USED% .
Note: This is an online operation which runs in the background, however You must
monitor the job by issuing the ibrix_fs -i -f ibhome command from your FM every 15
minutes or so and keep an eye on the USED% field for the segments called out in the
command below. When you see that the USED% is close to being balanced between all
of these segments involved you are to kill the rebalance job as directed in the example i
posted below:
Rebalance command to be run from your Fusion Manager:
#/usr/local/ibrix/bin/ibrix_rebalance -r -f <fs_name> -c -s 5,3,1, -d 6,7,8 -O "-p all"
when you are satisfied with the current rebalance job 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.
[Make note of this job id for next command]
#/usr/local/ibrix/bin/ibrix_rebalance -i
FileSystem: ibfs1
JOB RUNNING?
ibfs1_rebalance_20080602_131001 Yes
2. Then stop the current rebalance job like so:
/usr/local/ibrix/bin/ ibrix_rebalance -k -j ibfs1_rebalance_20080602_131001
ibrix_fs -i after special case source to destination reblance job#1:
SEGMENT OWNER LVNAME BLOCKSIZE BLOCKS(1k) BFREE(1k)
BAVAIL(1k) FILES FFREE USED% BACKUP ONBACKUP?
INFSCK? TYPE
1 n1mwpseg01 ilv1 4096 257902212 47859520 47253268 16768000
16557957 81 n1mwpseg02 No No MIXED No
2 n1mwpseg02 ilv2 4096 257902212 38888408 38282156 16768000
16547026 84 n1mwpseg01 No No MIXED No
3 n1mwpseg03 ilv3 4096 257902212 50019296 49413044 16768000
16557195 80 n1mwpseg04 No No MIXED No
4 n1mwpseg04 ilv4 4096 257902212 46950940 46344688 16768000
16546239 81 n1mwpseg03 No No MIXED No