beautypg.com

Rebalancing segments in a file system, How rebalancing works – HP StoreAll Storage User Manual

Page 38

background image

On the CLI, use the ibrix_fs command to extend a file system. Segments are added to the file
serving nodes in a round-robin manner. If tiering rules are defined for the file system, the -t option
is required. Avoid expanding a file system while a tiering job is running. The expansion takes
priority and the tiering job is terminated.

Extend a file system with the logical volumes (segments) specified in LVLIST:

ibrix_fs -e -f FSNAME -s LVLIST [-t TIERNAME]

Extend a file system with segments created from the physical volumes in PVLIST:

ibrix_fs -e -f FSNAME -p PVLIST [-t TIERNAME]

Extend a file system with specific logical volumes on specific file serving nodes:

ibrix_fs -e -f FSNAME -S LV1:HOSTNAME1,LV2:HOSTNAME2...

Extend a file system with the listed tiered segment/owner pairs:

ibrix_fs -e -f FSNAME -S LV1:HOSTNAME1,LV2:HOSTNAME2,... -t TIERNAME

Rebalancing segments in a file system

Segment rebalancing involves redistributing files among segments in a file system to balance
segment utilization and server workload. For example, after adding new segments to a file system,
you can rebalance all segments to redistribute files evenly among the segments. Usually, you will
want to rebalance all segments, possibly as a cron job. In special situations, you might want to
rebalance specific segments. Segments marked as bad (that is, segments that cannot be activated
for some reason) are not candidates for rebalancing.

A file system must be mounted when you rebalance its segments.

If necessary, you can evacuate segments (or logical volumes) located on storage that will be
removed from the cluster, moving the data on the segments to other segments in the file system.
You can evacuate a segment with the GUI or the ibrix_evacuate command. For more
information, see the HP IBRIX X9000 Network Storage System CLI Reference Guide or the
administrator guide for your system.

How rebalancing works

During a rebalance operation on a file system, files are moved from source segments to destination
segments. X9000 Software calculates the average aggregate utilization of the selected source

38

Maintaining file systems