climateprediction.net home page
Setting the data directory

Setting the data directory

Questions and Answers : Unix/Linux : Setting the data directory
Message board moderation

To post messages, you must log in.

AuthorMessage
old_user123696

Send message
Joined: 1 Dec 05
Posts: 1
Credit: 0
RAC: 0
Message 17634 - Posted: 2 Dec 2005, 1:54:42 UTC

Is there any way to set the data directory for Boinc? I have most of my spare disk space on a different partition to where boinc is installed, but I can\'t see any way to point the data directory at it.

Steve

ID: 17634 · Report as offensive     Reply Quote
Les Bayliss
Volunteer moderator

Send message
Joined: 5 Sep 04
Posts: 7629
Credit: 24,240,330
RAC: 0
Message 17636 - Posted: 2 Dec 2005, 2:14:41 UTC

You have to install BOINC where you want the data dir.

ID: 17636 · Report as offensive     Reply Quote
Profile geophi
Volunteer moderator

Send message
Joined: 7 Aug 04
Posts: 2185
Credit: 64,822,615
RAC: 5,275
Message 17638 - Posted: 2 Dec 2005, 3:40:59 UTC

In the directory above the BOINC directory, you should be able to

cp -R BOINC /newpathname/

whatever your new path to where you want the BOINC directory to go. If you use the run_client or run_manager scripts to start boinc or boincmgr, then you will need to edit those for the correct path. Otherwise it should work fine. You\'ll just need to start boinc from that new location. Once it\'s working, just

rm -rf BOINC

from the directory above the old BOINC directory to get rid of the old folder.
ID: 17638 · Report as offensive     Reply Quote
Desti

Send message
Joined: 6 Aug 04
Posts: 124
Credit: 9,195,838
RAC: 0
Message 17686 - Posted: 3 Dec 2005, 17:29:40 UTC

I haven\'t tried it, but a symlink should work. For example you move the projects dir whereever you want and than make simply a link to the new location.
Linux Users Everywhere @ BOINC
ID: 17686 · Report as offensive     Reply Quote
Arnaud

Send message
Joined: 3 Sep 04
Posts: 268
Credit: 256,045
RAC: 0
Message 17687 - Posted: 3 Dec 2005, 18:01:23 UTC

In command-line there is the option:
-dir <path> :use given dir as BOINC home (see ./boinc -h)

Arnaud
ID: 17687 · Report as offensive     Reply Quote
old_user140094

Send message
Joined: 18 Dec 05
Posts: 1
Credit: 60,004
RAC: 0
Message 18354 - Posted: 18 Dec 2005, 16:31:14 UTC - in response to Message 17636.  

You have to install BOINC where you want the data dir.



I can\'t even find my data dir. I have an old boinc version install that used to save it\'s data in /home/user/boinc. Now that I\'ve installed 5.2.13, I can\'t even find the data. I installed boinc via apt-get on my debian testing and got the boinc deb files from the debian boinc wiki.

Can anybody help me find my data for boinc. I don\'t like apps leaving their files around. As far as I can see ther is only a couple of files in my home dir. If I move them I don\'t think boincmgr will like it.

I\'m running boinc from the debian menu.

Cheers.
ID: 18354 · Report as offensive     Reply Quote
Profile geophi
Volunteer moderator

Send message
Joined: 7 Aug 04
Posts: 2185
Credit: 64,822,615
RAC: 5,275
Message 18355 - Posted: 18 Dec 2005, 16:53:22 UTC - in response to Message 18354.  

Can anybody help me find my data for boinc. I don\'t like apps leaving their files around. As far as I can see ther is only a couple of files in my home dir. If I move them I don\'t think boincmgr will like it.

I\'m running boinc from the debian menu.

do a search on the hard drive (using find or grep or some GUI based search tool for the file \"globe.rgb\". This should show you where your climateprediction.net directory and you can manuever from there.
ID: 18355 · Report as offensive     Reply Quote
Arnaud

Send message
Joined: 3 Sep 04
Posts: 268
Credit: 256,045
RAC: 0
Message 18371 - Posted: 18 Dec 2005, 20:12:50 UTC
Last modified: 18 Dec 2005, 20:14:09 UTC

If the locate package is installed on your machine, you can use:
# updatedb
$ locate BOINC/boinc

Arnaud
ID: 18371 · Report as offensive     Reply Quote

Questions and Answers : Unix/Linux : Setting the data directory

©2024 cpdn.org