The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

yars_generate_diskmap -- generate a mapping from servers + hosts to buckets for yars.

SYNOPSIS

    yars_generate_diskmap <number of hex digits>
    host1 /disk1
    host1 /disk2
    host2 /disk1
    host2 /disk2

    echo "host1 /disk/1" | yars_generate_diskmap 1

DESCRIPTION

Given a list of hosts and disks, distribute 16^n buckets onto the disks.

EXAMPLES

clad -a testarch df -kh|grep archive | awk '{print $1 " " $7}' | ./yars_generate_diskmap 2

SEE ALSO

Clustericious::Admin