How to Move the BOINC Data Directory (Linux)

Move your Linux machine’s BOINC data directory like this:

1. sudo service boinc-client stop
2. sudo mv /var/lib/boinc-client/* /path_to_new_dir/boinc-client/
3. sudo rm -rf /var/lib/boinc-client
4. sudo ln -s /path_to_new_dir/boinc-client /var/lib/boinc-client
5. sudo service boinc-client start

Works like a charm.

 

4 Comments for “How to Move the BOINC Data Directory (Linux)”

Jesse

says:

Could something have changed? This does not work for me.

Butch

says:

No. After following the above steps do an expanded list of /var/lib looking for boinc, thusly:
ls -ail /var/lib | grep boinc

You get one line that is a symbolic link, thus:
131903 lrwxrwxrwx 1 root root 23 Oct 23 11:46 boinc-client -> /home/boinc-working-dir
This points all access to /var/lib/boinc-client to the new location of the working-dir, in my case in /home
Check for the existence of the latter, that it is populated, and everything in it is owned by BOINC:BOINC.

Leave a Reply

Your email address will not be published.