NAME

yars_balance - Fix all files

VERSION

version 1.33

SYNOPSIS

% yars_balance

DESCRIPTION

Rebalance files in the yars cluster so that all stashed files are returned to the correct server. This was originally done using the yars_fast_balance command, which is buggy and not as fast as this one.

OPTIONS

--threads | -t

The number of threads to run in parallel. Only one thread per disk will execute at a time.

--backup | -b

After copying files to the correct bucket (either as a local file copy, or as a Yars file transfer), rename the original file to a backup directory, instead of unlinking it. This is particularly useful when adding new untested disks to a yars cluster.

--delay | -d

Delay deletes or renames to avoid race conditions with GETs. Note that this introduces a race condition with DELETEs.

--load | -l number

Pause balance when load average exceeds number. Only implemented on systems that provide /proc/loadavg, such as Linux.

AUTHOR

Original author: Marty Brandon

Current maintainer: Graham Ollis <plicease@cpan.org>

Contributors:

Brian Duggan

Curt Tilmes

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by NASA GSFC.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.