Rebalancing segments in a file system – HP StoreAll Storage User Manual
Page 46
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. 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.
NOTE:
Do not use a cron job to rebalance segments. Rebalancing is designed as an infrequent,
one-off task, which can significantly affect segment utilization (for example, expanding a file system
by one or more new segments). If frequent rebalancing is required, it is best to re-evaluate the
configuration or solution.
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 StoreAll OS CLI Reference Guide or the administrator guide for your system.
46
Maintaining file systems