[SERVER-31602] WiredTiger.wt: read checksum error. block header checksum doesn't match expected checksum Created: 17/Oct/17 Updated: 14/Aug/18 Resolved: 20/Oct/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 3.4.9 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Matthäus Zloch | Assignee: | Mark Agarunov |
| Resolution: | Done | Votes: | 0 |
| Labels: | docker, envc, rge, rps, trcf, wtc | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
MacOS 10.12.6 |
||
| Attachments: |
|
| Operating System: | OS X |
| Participants: |
| Description |
|
Hello there, can someone help me? I've mounted my data volume into a docker container running a mongod and accidentally stopped the execution with CTRL-C. After that I could not restart my local mongod using the same data directory. I saw in some issues e.g here Could you tell me:
Here is the stacktrace of my initial try using the `--repair` statement. Thank you in advance. Matthaeus
|
| Comments |
| Comment by Kelsey Schubert [ 14/May/18 ] |
|
Hi rjv94rnjn, As I mentioned on Thank you, |
| Comment by Rajeev Ranjan [ 13/May/18 ] |
|
Hi, |
| Comment by Mark Agarunov [ 20/Oct/17 ] |
|
Hello matthaeus, Thanks for your response. I'm glad to hear that this fixed the issue and everything is working again. To prevent this type of problem in the future, we recommend implementing regular backups and/or replication to mitigate any issues related to unreliable storage layers or server failures. Thanks, |
| Comment by Matthäus Zloch [ 20/Oct/17 ] |
|
I didn't try that. Ahhh.. it seems like the mongod service could now start up again. I can access the database again! thank you! I did: `mongod --dbpath /usr/local/var/mongodb` Thank you for the quick response and the fixes! |
| Comment by Mark Agarunov [ 19/Oct/17 ] |
|
Hello matthaeus, Thank you for providing this information. After running with - Thanks, |
| Comment by Matthäus Zloch [ 18/Oct/17 ] |
|
Hi Mark, thank you for the fixes. I have extracted the files and
There was much output on the console, seems like mongod could resolve some issues. But there was another error which keeps mongod still from starting normally. I have added the console output as repair- Is there something you can do? Regards, Matthäus Answers to your questions: 1. local HDD |
| Comment by Mark Agarunov [ 17/Oct/17 ] |
|
Hello matthaeus, Thank you for providing these files. I've attached a repair attempt of the files you've provided. Would you please extract these files and replace them in your $dbpath and let us know if it resolves the issue? If you are still seeing errors after replacing these files, please provide the complete logs from mongod so that we can further investigate. Additionally, if this issue persists, please provide the following information:
Thanks, |
| Comment by Matthäus Zloch [ 17/Oct/17 ] |
|
Hi Mark, thank you for the quick answer. I fortunately have made a backup before experimenting with the commands. I will add the two files of my original dataset to the issue. That would be great if your attempt of repair would work. Regards, Matthäus WiredTiger.turtle |
| Comment by Mark Agarunov [ 17/Oct/17 ] |
|
Hello matthaeus, Thank you for the report. When replacing the WiredTiger.turtle and WiredTiger.wt files, which files did you use to replace them? These files are generally specific to the dataset, and cannot be used with a different dataset. If you provide these files, I can attempt a repair of the files, but it is unlikely to succeed if they are not from the same dataset being used. Thanks, |