Working with different disk drive

joe areeda
joe areeda
Joined: 13 Dec 10
Posts: 285
Credit: 279,139,469
RAC: 149,195
Topic 195577

I'm running Boinc on an old laptop (among others) with 2 drives. What is the best way to put the data files on another disk?

I can shut down, manually move the projects directory and link it back into the BOINC directory but I wonder if there is a better way?

Joe

Ageless
Joined: 26 Jan 05
Posts: 2,949
Credit: 5,374,792
RAC: 0

Working with different disk drive

Uninstall BOINC.
Move the complete Data directory to the other drive; just moving the Einstein directory will not work.
Install BOINC.
-- On the third screen in the installer, click Advanced.
-- Change the path for the Data directory to that of where you moved it to.

That way you install with all permissions set correctly and BOINC knowing where its parts are.

joe areeda
joe areeda
Joined: 13 Dec 10
Posts: 285
Credit: 279,139,469
RAC: 149,195

RE: Uninstall BOINC. Move

Quote:

Uninstall BOINC.
Move the complete Data directory to the other drive; just moving the Einstein directory will not work.
Install BOINC.
-- On the third screen in the installer, click Advanced.
-- Change the path for the Data directory to that of where you moved it to.

That way you install with all permissions set correctly and BOINC knowing where its parts are.


Thanks for the help Jord but I'm now more confused. I think your instructions might be referring to a Windows install. I'm running under Linux and I have apps running and waiting to run. So allow me a couple of questions:

  • Is there more to uninstall than deleting ${HOME}/BOINC I do not see an uninstall script.
  • I'm confused about what exactly you mean by the "Data directory" is this the ${HOME}/BOINC with everything that was installed?
  • the "third screen in the installer" is what makes me think you're talking about Windows. The installer I downloaded "boinc_6.10.58_i686-pc-linux-gnu.sh" doesn't have a gui, it just upacks itself and sets itself up in the current directory.

After digging around. It does look like I can move the ${HOME}/BOINC directory to the other disk and run binstall.sh, with the BOINC manager and client stopped. Is that correct? or I suppose I can stop asking for new jobs and just rerun the install script when everything is complete.

Ascholten
Ascholten
Joined: 20 Oct 10
Posts: 63
Credit: 2,848,108
RAC: 0

Im not a linux guru so can't

Im not a linux guru so can't guarantee this 100 percent but, from playing with windows and swapping from computer to computer. Do the install in your new computer, and then move the entire directory you held your data in from the old machine to the data directory you set in the new machine, and it should move everything seamlessly for you. Start up boinc and you should be good to go.

Aaron

If god meant for us not to BOINC he'd have made our #$%^%^ shorter!!

Richard Haselgrove
Richard Haselgrove
Joined: 10 Dec 05
Posts: 1,918
Credit: 136,360,534
RAC: 117,178

RE: Im not a linux guru so

Quote:

Im not a linux guru so can't guarantee this 100 percent but, from playing with windows and swapping from computer to computer. Do the install in your new computer, and then move the entire directory you held your data in from the old machine to the data directory you set in the new machine, and it should move everything seamlessly for you. Start up boinc and you should be good to go.

Aaron


For Windows, it's usually better to do it the other way round: first put the data directory (the whole BOINC Data folder tree, not just one project's data) into a convenient place on the new computer.

Then run the installer, taking care to enter the 'Advanced' screen and choose the location where you've just placed the data directory. That way, the installer gets the chance to inspect and correct the permissions on any of the files you've moved.

joe areeda
joe areeda
Joined: 13 Dec 10
Posts: 285
Credit: 279,139,469
RAC: 149,195

I got it to work by copying

I got it to work by copying the BOINC folder as installed then running the binstall.sh script which recreates the run_client and run_manager scripts.

I should have posted that earlier but I couldn't decide if it is proper or if I was just lucky (for the first time).

Joe

Matt Giwer
Matt Giwer
Joined: 12 Dec 05
Posts: 144
Credit: 6,891,649
RAC: 0

RE: I'm running Boinc on an

Quote:

I'm running Boinc on an old laptop (among others) with 2 drives. What is the best way to put the data files on another disk?

I can shut down, manually move the projects directory and link it back into the BOINC directory but I wonder if there is a better way?

Joe

Using linux I have simply stopped it, moved the entire directory to another drive and re-started it. Worked fine. There were no absolute path requirements. I don't use managers and such but I assume all you have to do is give them the new location.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.