Message boards : Questions and problems : Problems moving Linux BOINC client directory
Message board moderation
Author | Message |
---|---|
![]() Send message Joined: 27 Sep 06 Posts: 3 ![]() |
After reading various old posts here and elsewhere, I attempted to move my Linux Mint 12-based system's BOINC (6.12.33) client directory. I: [*] Waited until all projects finished all their tasks. [*] Created /home/boinc with boinc:boinc owner & group. [*] Changed BOINC_DIR from /var/lib/boinc-client to /home/client in /etc/default/boinc-client. (Also changed it in /etc/init.d/boinc-client, though code looks like it's not necessary, as default overrides.) [*] Moved everything from /var/lib/boinc-client to /home/boinc, including symlinks, and preserving owner & group settings. [*] Created symlink /var/lib/boinc-client -> /home/boinc (just in case). [*] Added <data_dir>/home/boinc</data_dir> to (otherwise empty) <options> section of cc_config.xml in /home/boinc. [*] Did `sudo /etc/init.d/boinc-client restart` to restart BOINC.
|
Send message Joined: 15 Dec 05 Posts: 23 ![]() |
boinc does not seem to like changing the data directory so you need to work around that one. I tried 2 things, of which one worked. What does not work: moving the data and use symlinks to link to the new directory. boinc does not see the data. What does work: use mount --bind [*] service boinc-client stop to stop the client(might be different on your system) [*] mv /var/lib/boinc-client/* /path/to/new/dir/boinc-client/ move the data to the destination [*] mount --bind /path/to/new/dir/boinc-client /var/lib/boinc-client bind the new directory to the old one [*] now test it with service boinc-client start or your OS’s equivalent [*] it will work, so add /path/to/new/dir/boinc-client /var/lib/boinc-client none bind 0 0 to your /etc/fstab so that the bind is created on system start |
Send message Joined: 19 Aug 08 Posts: 8 ![]() |
I can attest to this solution. I am running Fedora 18 with BOINC 7.0.29 I copied the contents of /var/lib/boinc (on a small SSD) to the hard drive where Ubuntu resides. Created an entry in fstab to mount the hard drive directory. Next a shell script uses mount --bind to map the mount point + path on the hard drive to /var/lib/boinc This takes the data, which could easily exceed 5-10GB off the SSD |
Copyright © 2025 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.