Recover from a system crash.

Message boards : Number crunching : Recover from a system crash.
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile kwalk

Send message
Joined: 2 Aug 99
Posts: 29
Credit: 16,535,464
RAC: 3
United States
Message 892459 - Posted: 7 May 2009, 22:17:00 UTC

My system crashed hard. Long story. I am rebuilding it and have access to the old hard drive. Is there any way to recover the host id and work units that were in progress to the new hard drive and pick up were it left off? Like load BOINC and copy some directories?

Thanks much.

Windows XP SP3
ID: 892459 · Report as offensive
Profile Labbie
Avatar

Send message
Joined: 19 Jun 06
Posts: 4083
Credit: 5,930,102
RAC: 0
United States
Message 892461 - Posted: 7 May 2009, 22:19:25 UTC

Copy the BOINC program and data folders, then install BOINC on top of them and you should get everything back.


Calm Chaos Forum...Join Calm Chaos Now
ID: 892461 · Report as offensive
Profile kwalk

Send message
Joined: 2 Aug 99
Posts: 29
Credit: 16,535,464
RAC: 3
United States
Message 892497 - Posted: 7 May 2009, 23:44:46 UTC - in response to Message 892461.  

Moved the BOINC program folder and loaded BOINC. No joy there. I re-read your message and I guess the data folders must be somewhere other then Program Files. I will have to try to hunt them down. Thanks.

Copy the BOINC program and data folders, then install BOINC on top of them and you should get everything back.


ID: 892497 · Report as offensive
Profile Labbie
Avatar

Send message
Joined: 19 Jun 06
Posts: 4083
Credit: 5,930,102
RAC: 0
United States
Message 892501 - Posted: 7 May 2009, 23:47:01 UTC - in response to Message 892497.  
Last modified: 7 May 2009, 23:48:05 UTC

Moved the BOINC program folder and loaded BOINC. No joy there. I re-read your message and I guess the data folders must be somewhere other then Program Files. I will have to try to hunt them down. Thanks.

Copy the BOINC program and data folders, then install BOINC on top of them and you should get everything back.



Yeah, depending on your BOINC version and flavor of Windows, they could be in one of several places, most likely a hidden folder under C:\Documents and Settings.

Do a search for BOINC and make sure it is looking for hidden files and folders.

And you may have to uninstall BOINC before you copy again, I'm not sure if you need to or not.

Calm Chaos Forum...Join Calm Chaos Now
ID: 892501 · Report as offensive
Profile kwalk

Send message
Joined: 2 Aug 99
Posts: 29
Credit: 16,535,464
RAC: 3
United States
Message 892503 - Posted: 7 May 2009, 23:52:24 UTC - in response to Message 892501.  

Got it. Just to be safe I un-install BOINC and start over with the copies. Worked like a champ this time. I am back crunching work units once again. Thanks much.
ID: 892503 · Report as offensive
Profile Labbie
Avatar

Send message
Joined: 19 Jun 06
Posts: 4083
Credit: 5,930,102
RAC: 0
United States
Message 892513 - Posted: 8 May 2009, 0:11:43 UTC

Glad it worked.

Happy Crunching.


Calm Chaos Forum...Join Calm Chaos Now
ID: 892513 · Report as offensive
woodenboatguy

Send message
Joined: 10 Nov 00
Posts: 368
Credit: 3,969,364
RAC: 0
Canada
Message 893453 - Posted: 10 May 2009, 17:54:57 UTC - in response to Message 892461.  

Copy the BOINC program and data folders, then install BOINC on top of them and you should get everything back.


Timely advice - was just about to post and ask. Just recovered from a hard drive crash and got back online (here).

Apologies to my wingmen whilst I sort this out. I see already that I'm starting to miss the deadlines on a few WUs.

I don't know if the old drive will come back long enough to recover the BOINC directories. Tried freezing it last night but it will only "click" when powered back up at the moment. A new HD and I am going to try it again.

Regards,



ID: 893453 · Report as offensive
woodenboatguy

Send message
Joined: 10 Nov 00
Posts: 368
Credit: 3,969,364
RAC: 0
Canada
Message 898183 - Posted: 22 May 2009, 12:08:44 UTC - in response to Message 893453.  

Hmmm...Just got the work units off the crippled drive last night and tried the above. No go. I even tried installing the new version over top of everything in hopes that it would give the whole bunch a good kick and get it to take on the old units.

Any other suggestions?

Thanks,

ID: 898183 · Report as offensive
Profile Pappa
Volunteer tester
Avatar

Send message
Joined: 9 Jan 00
Posts: 2562
Credit: 12,301,681
RAC: 0
United States
Message 898236 - Posted: 22 May 2009, 14:51:58 UTC

did you get the WHole "Boinc" Folder? The workunits by themsleves mean nothing.

The Boinc folder contains several files that are necessary.
account_setiathome.berkeley.edu.xml - which is your identity
client_state.xml - which information about your computer and what WU's it has
"projects" folder which will contain the "setiathome.berkeley.edu" folder that has the workunts and executables.

so without the "whole Boinc folder" it is not going to work.


Please consider a Donation to the Seti Project.

ID: 898236 · Report as offensive
woodenboatguy

Send message
Joined: 10 Nov 00
Posts: 368
Credit: 3,969,364
RAC: 0
Canada
Message 898356 - Posted: 22 May 2009, 20:13:37 UTC - in response to Message 898236.  

Ahhh...sounds then like I need to edit the client_state.xml to tell it the WUs are now there. The rest of the files are there as I'd reinstalled before I got the dead drive to come back (what really annoys me is that it now won't go back and die a final death!).

Since everything else is already there from the install onto the new drive, do I only need to edit the client_state.xml file and get it to recognize the stranded WU's?

Thanks,

ID: 898356 · Report as offensive
Josef W. Segur
Volunteer developer
Volunteer tester

Send message
Joined: 30 Oct 99
Posts: 4504
Credit: 1,414,761
RAC: 0
United States
Message 898536 - Posted: 23 May 2009, 3:25:02 UTC - in response to Message 898356.  

Ahhh...sounds then like I need to edit the client_state.xml to tell it the WUs are now there. The rest of the files are there as I'd reinstalled before I got the dead drive to come back (what really annoys me is that it now won't go back and die a final death!).

Since everything else is already there from the install onto the new drive, do I only need to edit the client_state.xml file and get it to recognize the stranded WU's?

Thanks,

No, the tasks have been marked "Client detached" and reissued to other hosts. Even if that weren't so, getting all the details correct while editing client_state.xml would be difficult.
                                                                 Joe
ID: 898536 · Report as offensive
woodenboatguy

Send message
Joined: 10 Nov 00
Posts: 368
Credit: 3,969,364
RAC: 0
Canada
Message 898567 - Posted: 23 May 2009, 6:45:28 UTC - in response to Message 898536.  

Interesting. I recovered the xml file as well went I got the drive to resusitate so I had been thinking of simply copying the <file_info> and <workunit> sections that corresponded to the various WU files. No eh?
ID: 898567 · Report as offensive
Josef W. Segur
Volunteer developer
Volunteer tester

Send message
Joined: 30 Oct 99
Posts: 4504
Credit: 1,414,761
RAC: 0
United States
Message 898654 - Posted: 23 May 2009, 14:20:10 UTC - in response to Message 898567.  

Interesting. I recovered the xml file as well went I got the drive to resusitate so I had been thinking of simply copying the <file_info> and <workunit> sections that corresponded to the various WU files. No eh?

If any of the tasks are still shown as "In progress" server-side, then merging the related <file_info>, <result>, and <workunit> sections would probably work. Possibly even a result for a task marked "Client detached" might be accepted if you finished and reported it before the WU was resolved, but it wouldn't really be useful work since reissues have been sent. It's been a long time since May 10, anyhow, so most of the WUs have probably already been resolved.
                                                              Joe
ID: 898654 · Report as offensive
woodenboatguy

Send message
Joined: 10 Nov 00
Posts: 368
Credit: 3,969,364
RAC: 0
Canada
Message 898860 - Posted: 24 May 2009, 4:21:56 UTC - in response to Message 898654.  

Thanks for the guidance Joe. It worked - to the degree that I reported all the overdue tasks as "aborted" (?). Those that had not missed their deadline yet I'm now crunching.

Regards,

ID: 898860 · Report as offensive

Message boards : Number crunching : Recover from a system crash.


 
©2024 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.