Greyhole icon indicating copy to clipboard operation
Greyhole copied to clipboard

Cannot balance with custom drive_selection_algorithm config

Open zefie opened this issue 3 years ago • 0 comments

What I expected:

Greyhole to place backup copies of data onto the UNTRUSTED drive, while retaining the ability to be able to balance out the data across the OK group of drives

What is happening

Greyhole places the backup copies onto UNTRUSTED as expected, but cannot balance out the OK drives.

Details

I have set up some custom algorithms then asked Greyhole to balance accordingly, but it won't because its custom.

Won't balance using share Music, because it uses a custom 'drive_selection_algorithm' config

config snippet:

drive_selection_groups = OK: /mnt/stor/1/greyhole, /mnt/stor/2/greyhole, /mnt/stor/3/greyhole, /mnt/stor/4/greyhole, /mnt/stor/5/greyhole
drive_selection_groups = UNTRUSTED: /mnt/stor/r1/greyhole

drive_selection_algorithm[Music] = forced (1xOK, 1xUNTRUSTED) most_available_space
num_copies[Music] = 2

zefie avatar Aug 25 '21 05:08 zefie