mersenneforum.org  

Go Back   mersenneforum.org > New To GIMPS? Start Here! > Information & Answers

Reply
 
Thread Tools
Old 2021-01-22, 17:09   #1
drkirkby
 
Jan 2021

23·5 Posts
Default I messed up and corrupted files - can I recover?

I'm using a linux system and have been trying to run mprime from another directory - I was going to use a USB stick, but I was warned after I started that it was not a good idea. Anyway, this is what happened on my Linux box.



1) mprime was running happily in my home directory $HOME

2) I moved all GIMPS files to $HOME/gimps
3) Changed directory to $HOME/gimps
4) Run mprime. I expected this to carry on where it left off, but it did not - it asked whether I wanted to connect to the GIMPS server
5) I tried the -w option, but that did not help.

6) I decided to moved files back to my home directory, and run mprime again. Now, once again, it is asking for me to connect to the server - it will not continue where it left off.



This is the list of the relevant files, and the dates on them



-rw-rw-r--. 1 drkirkby drkirkby 14850 Jan 21 22:04 prime.log
-rw-rw-r--. 1 drkirkby drkirkby 27517868 Jan 22 08:20 p110068781.bu4
-rw-rw-r--. 1 drkirkby drkirkby 27517868 Jan 22 11:21 p110068781.bu3
-rw-rw-r--. 1 drkirkby drkirkby 41276472 Jan 22 12:34 p110068781.bu2
-rw-rw-r--. 1 drkirkby drkirkby 3522232320 Jan 22 12:58 p110068781.residues
-rw-rw-r--. 1 drkirkby drkirkby 41276472 Jan 22 13:04 p110068781.bu
-rw-rw-r--. 1 drkirkby drkirkby 972 Jan 22 13:12 results.txt
-rw-rw-r--. 1 drkirkby drkirkby 41276472 Jan 22 13:12 p110068781
-rw-rw-r--. 1 drkirkby drkirkby 621 Jan 22 14:44 local.txt
-rw-rw-r--. 1 drkirkby drkirkby 81 Jan 22 14:44 prime.txt
-rw-rw-r--. 1 drkirkby drkirkby 16 Jan 22 14:46 prime.spl
drwxrwxr-x. 2 drkirkby drkirkby 6 Jan 22 14:47 gimps
-rw-rw-r--. 1 drkirkby drkirkby 5 Jan 22 14:47 mprime.pid



I think the files created at 14:44 or later may not be as they should. I have attached a zip file containing all the small files created. I can upload all the files if need be to a web server, but only if that's useful.



Dave
drkirkby is offline   Reply With Quote
Old 2021-01-22, 17:12   #2
drkirkby
 
Jan 2021

23×5 Posts
Default

I don't think the attachment worked. Let's try again.
Attached Files
File Type: zip mprime-p110068781-problem.zip (4.2 KB, 8 views)
drkirkby is offline   Reply With Quote
Old 2021-01-22, 17:24   #3
drkirkby
 
Jan 2021

2816 Posts
Default

Here's a screenshot of the GIMPS website, showing the work done. (unnamed) is probably what was created when things were not working. duck-32GB is the computer that has done quite a bit of work, and I'd like to recover what it has done if possible.


Ignore the ionos entry. I think I will stop that, as its not getting anywhere. I messed up on that too, but for different reasons. It is much slower than "duck" which has 8 cores.
Attached Thumbnails
Click image for larger version

Name:	screenshot.png
Views:	22
Size:	202.9 KB
ID:	24218  

Last fiddled with by drkirkby on 2021-01-22 at 17:26
drkirkby is offline   Reply With Quote
Old 2021-01-22, 18:14   #4
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

3×3,529 Posts
Default

Quote:
Originally Posted by drkirkby View Post
I'm using a linux system and have been trying to run mprime from another directory - I was going to use a USB stick, but I was warned after I started that it was not a good idea. Anyway, this is what happened on my Linux box...
There are two kinds of computer users: those who take frequent regular backups and those who lose important data.

Everyone, but everyone (myself included) learns this the hard way.
xilman is offline   Reply With Quote
Old 2021-01-22, 18:40   #5
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

11100101101002 Posts
Default

Where is worktodo.txt?
Prime95 is online now   Reply With Quote
Old 2021-01-22, 20:51   #6
drkirkby
 
Jan 2021

23×5 Posts
Default

Quote:
Originally Posted by Prime95 View Post
Where is worktodo.txt?
Sorry, I missed that. There's also a results.json.txt. I can upload that if need be, but it looks to contain security information.
Attached Files
File Type: txt worktodo.txt (71 Bytes, 13 views)
drkirkby is offline   Reply With Quote
Old 2021-01-23, 01:44   #7
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

22·11·167 Posts
Default

Go to Test/Primenet dialog box and enter your user id and computer name. For some reason your prime.txt file has almost no data in it.
Prime95 is online now   Reply With Quote
Old 2021-01-23, 18:21   #8
drkirkby
 
Jan 2021

23×5 Posts
Default

Quote:
Originally Posted by Prime95 View Post
Go to Test/Primenet dialog box and enter your user id and computer name. For some reason your prime.txt file has almost no data in it.

Thank you. That's recovered it.
drkirkby is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you recover Firefox synced information? jasong jasong 14 2016-02-14 03:48
Corrupted data? Oops! Information & Answers 2 2013-10-22 03:48
prime95 error - corrupted double-linked list chesswood Information & Answers 0 2013-04-12 02:26
Just for fun! I made a program which can recover assignment ID dabaichi PrimeNet 8 2011-12-28 01:07
Help me recover work after machine freaked out scubabob PrimeNet 17 2011-02-18 23:15

All times are UTC. The time now is 06:11.

Thu Feb 25 06:11:26 UTC 2021 up 84 days, 2:22, 0 users, load averages: 1.94, 2.08, 2.20

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

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.
A copy of the license is included in the FAQ.