| Index | Recent Threads | Unanswered Threads | Who's Active | Guidelines | Search |
| World Community Grid Forums
|
| No member browsing this thread |
|
Thread Status: Active Total posts in this thread: 5
|
|
| Author |
|
|
Sylwester Zdanowski
Cruncher Poland Joined: Jan 26, 2007 Post Count: 32 Status: Offline Project Badges:
|
Making long story short - under Debian lenny at two separate HDD using boinic whole time causes high inconsistency and with time fsck throws an error. I cant afford that right now....
----------------------------------------To get around that I would like to use CF or SD as a drive for work units instead of main HDD. How can I change work unit directory under Linux? Wher work units ar? meyby symlink will be good? [Edit 2 times, last edit by Sylwester Zdanowski at Nov 7, 2012 8:54:27 AM] |
||
|
|
sgoll
Advanced Cruncher Joined: Oct 24, 2006 Post Count: 87 Status: Offline Project Badges:
|
I was runing one of my chrunchers on two disk for a long time without errors, so the two disk scenario is not bad per default. You may have a look for the S.M.A.R.T status of your disks using smartctl -a <devicename>.
----------------------------------------But to answer your question: yes, you can do a softlink (using ln -s) to move your boinc working directory, but the cleaner solution would be to change the directory where boinc starts. I do this with a start script like this: > cat ../boinc/start.sh #!/bin/bash cd /home/boinc exec ./BOINC/boinc -daemon & ... and boinc is running in /home/boinc/ with all the data in this directory. My script is started bei cron using the @reboot statement: > crontab -l # m h dom mon dow command @reboot /home/boinc/start.sh You may use these scripts and modify them for your needs. Another way would be to mount your CF / SD card under the projects directory in your boinc working directory (don't forget to copy all the files). But finally it also depends on what kind of boinc you are using, the boinc provided with debian (and btw. lenny is a "bit" old) or the boinc from the WCG site. Stephan ![]() [Edit 1 times, last edit by sgoll at Nov 7, 2012 10:35:05 AM] |
||
|
|
Sylwester Zdanowski
Cruncher Poland Joined: Jan 26, 2007 Post Count: 32 Status: Offline Project Badges:
|
**
----------------------------------------I try to make it simple: Where in oryginal DEBIAN lenny is BOINIC work directory? Assuming my memeory is /dev/sdb2 how should /etc/fstab line look so that BOINIC will work at system start? For the record- I ment two HDD as as separate PC both with similar problem. All disk tests show everything is OK turning off BIONIC decreases inconsistency.... **Edited for appropriate forum language**TKH [Edit 2 times, last edit by TKH at Nov 8, 2012 1:23:49 PM] |
||
|
|
sgoll
Advanced Cruncher Joined: Oct 24, 2006 Post Count: 87 Status: Offline Project Badges:
|
If ... I try to make it simple: Where in oryginal DEBIAN lenny is BOINIC work directory? .... Take a look into /etc/default/boinc-client ... and you will find a line like this: BOINC_DIR="/var/lib/boinc-client" And ... when you only want to know where the boinc directory is ... well: I see a lot of other questions in your posting. Maybe you should have a coffee or tea and calm down. Stephan ![]() |
||
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
Right, with the irrelevant commentaries and snark removed [thank you admin]:
----------------------------------------BOINC 101: 1) General, all platforms, the location of the data dir is printed at start of the client message log! 2) For Ubuntu using the standard repo kit, the path is also included the in the boinc-client startup script which is probably somewhere in init.d [do a search for the the specific system]. Any other linux build, you'll have to do a little DIY, but sgoll gave good lead on scripting this. 3) The <options> option <data_dir>thisisthepath</data_dir> to be included in the cc_config.xml file, noting that this has been throwing curve balls since quite a few builds for me with an illegal in the message log, since version 7. Can do without, at least, it's not required if selecting a different location when installing on Windows [stored in registry IIRC]. With this, moving to the data dir to any location can be done, noting that things will fail if mounting of the data-drive is not timely, a specific Linux issue. Prepare fstab properly. I've got a <start_delay> in the cc_config.xml to allow the system come to order after a boot before starting BOINC. [Edit 1 times, last edit by Former Member at Nov 8, 2012 3:03:24 PM] |
||
|
|
|