[SERVER-22811] mongod crashed when starting with wiredTiger files from running server Created: 23/Feb/16 Updated: 02/Mar/16 Resolved: 01/Mar/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | WiredTiger |
| Affects Version/s: | 3.2.3 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Edik Mkoyan | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Steps To Reproduce: | Copy data directory to another server. |
| Participants: |
| Description |
|
I have copied files from data directory from one server to backup the database, when I try to run mongod instance on another server with the backed up files this is what happens.
|
| Comments |
| Comment by Edik Mkoyan [ 02/Mar/16 ] |
|
I thought with journal enabled it will be ok. |
| Comment by Ramon Fernandez Marina [ 01/Mar/16 ] |
|
edikmkoyan, this backup procedure (copying files off the dbpath of a running mongod) is not supported. Please see recommended backup methods for alternatives. Regards, |
| Comment by Edik Mkoyan [ 29/Feb/16 ] |
|
@Thomas, When the mongod is running on server A, but there is no load on it, I copy the content of dbpath to server B, set the correct permissions and ownership and run the mongod --dbpath /path/to/copy/of/data/directory and see this in my terminal window. P.S. Apologies for delay. |
| Comment by Kelsey Schubert [ 23/Feb/16 ] |
|
Hi edikmkoyan, Can you please walk me through the steps you took copy the files from the source MongoDB to the target MongoDB (the one displaying this issue on startup)? In particular, please be sure to answer the following:
Thank you, |
| Comment by Edik Mkoyan [ 23/Feb/16 ] |
|
@Ramon Fernandez f you mean the backup/destination server, the data directory was empty there. |
| Comment by Ramon Fernandez Marina [ 23/Feb/16 ] |
|
edikmkoyan, was the other server running at the time you copied the files? |