Setting storage location for Boinc

Questions and Answers : Preferences : Setting storage location for Boinc
Message board moderation

To post messages, you must log in.


Send message
Joined: 6 May 19
Posts: 1
Credit: 4,656
RAC: 0
Message 1992799 - Posted: 6 May 2019, 9:41:31 UTC

This seems a simple question so apologies if the answer is already on this board but my search terms didn't find it.

I have 2 disk-drives, a small SSD for system and a large USB HDD for data.

How do I set Boinc to use the USB drive?

Thanks, Tony
ID: 1992799 · Report as offensive
Profile Keith Myers Special Project $250 donor
Volunteer tester

Send message
Joined: 29 Apr 01
Posts: 12866
Credit: 1,160,866,277
RAC: 1,873
United States
Message 1993572 - Posted: 12 May 2019, 20:16:54 UTC - in response to Message 1992799.  

It is not as simple as it is for Windows when you are running Linux. Depends on whether you are using the BOINC repo or your distro's repo. You can try this procedure:

It works for some and not for others because just making a symlink does not change all the scripts that start BOINC scattered throughout the system in /etc/init.d and in /etc/default. At minimum, after moving the directory and making the symlink you are going to have to change the location of the boinc-client directory from /var/lib/boinc-client to wherever you put the new location in the /etc/default/boinc-client file.

You are also going to have to reset the permissions on the new directory location back to BOINC ownership.
sudo chown -R boinc:boinc <new boinc data directory location>

Also you have to make sure that that USB drive is mounted at boot before the BOINC service starts or it will error out.

I also might offer another suggestion and that is to download a BOINC installation that lets you unpack it at whatever location you want in your /home folder. It it the TBar All-in-One application that is configured for the anonymous platform with Seti apps already installed along with the special sauce app for Nvidia cards. You would either need to edit the app_info for your own projects or applications or simply remove the / projects directory which would then just leave BOINC with just the BOINC files and would allow you to just add and join your own projects.

The benefit of this version is you are the owner of BOINC since it is unpacked into your /home directory and you have all editing and ownership rights as the user:owner. It can be started manually by just double-clicking on the boincmgr file and it will launch the client and manager for you so you can do your own configuration. It is the 7.14.2 version. It is located here:
Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 1993572 · Report as offensive

Questions and Answers : Preferences : Setting storage location for Boinc

©2021 University of California
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.