AlexL Posted August 29, 2017 Share Posted August 29, 2017 Hi, Is there any way of getting API access to at least the balancer API ?I am thinking of 2 examples I'd like to code; 1. Snapraid trigger As soon as a Balancing activity has ended, start snapraid check 2. File placement "list" As soon as a Balancing activity has ended, create a folder á la https://blogs.dropbox.com/business/2016/04/announcing-project-infinite/ symlinking to the "real" folder. Coincidently, this removes the need to rebuild the driver as you stated in another thread. This can also mean that a tiered storage can be achieved by moving less-acessed files to slow storage, and often-accessed files to SSDs. Thanks for checking in Quote Link to comment Share on other sites More sharing options...
0 Christopher (Drashna) Posted August 29, 2017 Share Posted August 29, 2017 Yes and no. there is no API to do this, but there is an option to create a file while tasks are running. You could check that, and then run the snapRAID stuff, as needed. http://wiki.covecube.com/StableBit_DrivePool_2.x_Advanced_Settings Specifically, the "DrivePool_RunningFile" setting. Set that to a file path, and restart the service. Have a script/program/whatever look for this file, and then run whatever task is needed. Quote Link to comment Share on other sites More sharing options...
Question
AlexL
Hi,
Is there any way of getting API access to at least the balancer API ?
I am thinking of 2 examples I'd like to code;
1. Snapraid trigger
As soon as a Balancing activity has ended, start snapraid check
2. File placement "list"
As soon as a Balancing activity has ended, create a folder á la https://blogs.dropbox.com/business/2016/04/announcing-project-infinite/ symlinking to the "real" folder.
Coincidently, this removes the need to rebuild the driver as you stated in another thread.
This can also mean that a tiered storage can be achieved by moving less-acessed files to slow storage, and often-accessed files to SSDs.
Thanks for checking in
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.