Git Product home page Git Product logo

Comments (2)

gboudreau avatar gboudreau commented on August 16, 2024

Originally from http://code.google.com/p/greyhole/issues/detail?id=69

from greyhole.

gboudreau avatar gboudreau commented on August 16, 2024

Suggested new configuration options:

### Directory selection groups ###
# The groups you define here will be available to use in the 
# dir_selection_algorithm option(s) below.
# The group names (SATA, IDE, USB and Remote in the example below) can be 
# anything you'd like.
# Use one line per group, with the following syntax:
#   group name: one or more (comma-separated) storage pool directories
# If you ommit any storage pool directory from your groups, this directory 
# will NOT be used by Greyhole!

#   dir_selection_groups = SATA: /mnt/hdd0/gh
#                          IDE: /mnt/hdd1/gh, /mnt/hdd2/gh
#                          USB: /mnt/hdd3/gh
#                          Remote: /mnt/remote1/gh, /mnt/remote2/gh

# You can also define dir_selection_groups for specific shares:
#
#   dir_selection_groups[Photos] = SATA: /mnt/hdd0/gh
#                                  IDE: /mnt/hdd1/gh, /mnt/hdd2/gh
#                                  USB: /mnt/hdd3/gh

#### Storage Selection Algorithm ####
# available algorithms: random, most_available_space
#   most_available_space: use the directories with the most available space 
#     first, so that available space on all drives should become and stay 
#     balanced.
#   random: use a random directory with available space

    dir_selection_algorithm = most_available_space

# If you defined dir_selection_groups above, you'll want to use them here.
# Use the 'forced' keyword, then list the groups you want to use, in order, and 
# prefix each group name with the number of directories you want to use from 
# that group before using the next group.
# Use the 'all' keyword to indicate you want Greyhole to use all directories 
# from a specific group, before starting to use directories from the next group.
#
#   dir_selection_algorithm = forced (all SATA, 1xIDE, 1xUSB, 1xRemote) most_available_space

# You can also define dir_selection_algorithm for specific shares:
#
#   dir_selection_algorithm[Videos] = random
#   dir_selection_algorithm[Photos] = forced (1xSATA, 1xIDE, all USB) random

from greyhole.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.