NAME¶
rozo_rebalance - RozoFS storage rebalancer daemon
SYNOPSIS¶
rozo_rebalance [ PARAMS ] [ OPTIONS ]
DESCRIPTION¶
rozo_rebalance RozoFS storage rebalancer. The goal of the
rebalancer is to move files within a RozoFS Volume in order to balance the
storage. The process MUST run on the same node as the exportd where the
volume is defined. It can be started either as a background process or in
one shot mode. When it is started in the one shot mode, the process ends
when the balance criteria are met.
PARAMS¶
- -v, --volume vid
Use vid as the volume identifier for which storage
balancing should apply. The vid should be defined in the following file:
/etc/rozofs/export.conf (or /usr/local/etc/rozofs/export.conf
according to install options)
- -t threshold
This parameter defines the threshold in percentage around
the average storage occupancy to which the balancing applies. Typically, the
balancing stops when all the storages (sid) are included in the window defined
by that threshold.
- -a threshold
This parameter defines the free space threshold in
percentage before triggering a storage balancing. If the free available space
on sid is higher than that threshold, the balancing process stops.
OPTIONS¶
- -h, --help
Print help.
- -f,--frequency
seconds
This option defines the scanning frequency in seconds of
the storage balancing process. (default 30s).
- -c,--config
file
Use file as configuration file default is
/etc/rozofs/export.conf (or /usr/local/etc/rozofs/export.conf
according to install options)
- --olderm minutes, --older
days
exclude files that are more recent than the specified
delay. The delay can be defined either in minutes or days.
- --newerrm minutes,
--newer days
exclude files that are older than the specified delay.
The delay can be defined either in minutes or days.
- --cont
that option when set, indicates that the storage
rebalancing process operates in continuous mode.
- --mode
<rel|abs|fid>
that option indicates the access mode used by the storage
balancer for moving the file:
- rel: use relative mode (parent/child)
- abs: use full pathname mode
- fid: use i-node mode (default)
- --verbose
that option sets the storage balancing process in verbose
mode.
- --minfilesz
<value>[k|K|m|M|g|G]
That option gives the minimum size of an eligible file to
rebalancing.
- --movecnt count
that option defines the file count threshold before
triggering an effective file move (default:10). The move occurs when the scan
has either reached movesz or movecnt.
- --movesz
value[k|K|m|M|g|G]
that option defines the cumulated file size threshold
before triggering an effective file move (default:1G). The size can be given
in bytes, kilobytes(k,K), megabytes (m,M) or gigabytes (g,G). The move occurs
when the scan has either reached movesz or movecnt
- --throughput
value
that option defines the maximun bandwidth in MB/s
allocated to the file mover (default: 10 MB/s).
FILES¶
/etc/rozofs/export.conf
(/usr/local/etc/rozofs/export.conf)
The system wide configuration file. See
export.conf(5) for further details.
/var/log/syslog
The log file. See syslogd(8) and
syslog.conf(5) for further details.
/var/run/storaged.pid
Pid file for the storaged daemon.
REPORTING BUGS¶
Report bugs to <bugs@fizians.org>.
COPYRIGHT¶
Copyright (c) 2013 Fizians SAS. <http://www.fizians.com>
Rozofs is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation, version 2.
Rozofs is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see
<http://www.gnu.org/licenses/>.
SEE ALSO¶
rozofs(7), export.conf(5), exportd(8),
rozofsmount(8),