[SERVER-33137] file:WiredTiger.wt, connection: WiredTiger.turtle: encountered an illegal file format or internal value Created: 05/Feb/18 Updated: 19/Feb/19 Resolved: 06/Feb/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 3.4.7 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Hon Wai Leong | Assignee: | Mark Agarunov |
| Resolution: | Done | Votes: | 0 |
| Labels: | envns, rdi, rpu, trct, wtc | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Operating System: | Linux |
| Participants: |
| Description |
|
Hello, Due to /var space filling up, my mongodb failed to restart. Errors are seen as below:
How do I fix this issue? |
| Comments |
| Comment by Rafał Dołęga [ 19/Feb/19 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I've got the same error and has the same problem and it happend second time in the last month. What is reason of these problems ?! If I haven't got backup these mean that my data has been completely lost forever? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Hon Wai Leong [ 07/Feb/18 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Thank you, Mark for looking into this. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Mark Agarunov [ 06/Feb/18 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hello hwleong, Unfortunately, this error indicates that there was corruption on the disk, most often cause by a faulty storage layer. In this situation, our best recommendation would be to resync the affected node or restore from a backup if possible. To prevent this type of problem in the future please take note of the following guidelines to help mitigate any issues related to unreliable storage layers or server failures.
Thanks, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Hon Wai Leong [ 06/Feb/18 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
mongod.log | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Hon Wai Leong [ 05/Feb/18 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I couldn't attach the log file for some reason. So, I paste it here:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Hon Wai Leong [ 05/Feb/18 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Thank you for providing the repair files, unfortunately it doesn't fix the issue. I am attaching the mongod.log here. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Mark Agarunov [ 05/Feb/18 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hello hwleong, Thank you for providing these files. I've attached a repair attempt of the files you provided. 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 the affected node(s) so that we can further investigate. Thanks, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Hon Wai Leong [ 05/Feb/18 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
SERVER-26103-WiredTiger-files.tar.gz Hello Mark, Thank you for your respond. As per request, I have attached both files. Thanks for looking into this. Regards, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Mark Agarunov [ 05/Feb/18 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hello hwleong, Thank you for the report. If you can provide the WiredTiger.wt and WiredTiger.turtle files we can attempt a repair of the database, but please keep in mind that this is not a guaranteed fix. Thanks, |