[SERVER-3749] Replication set failed Created: 01/Sep/11 Updated: 11/Jul/16 Resolved: 02/Sep/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | 1.8.2 |
| Fix Version/s: | None |
| Type: | Question | Priority: | Major - P3 |
| Reporter: | Leonid Mikityanskiy | Assignee: | Kristina Chodorow (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | replication | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Linux 2.6.18-238.12.1.el5 x86_64 |
||
| Attachments: |
|
| Participants: |
| Description |
|
I try to setup Mongodb replication |
| Comments |
| Comment by Kristina Chodorow (Inactive) [ 02/Sep/11 ] | ||||
|
Yes, that would do it. Replication preallocates 5% of your disk space for the replication log. You can adjust this using --oplogSize, but it's generally a good idea to stick with the default. | ||||
| Comment by Leonid Mikityanskiy [ 02/Sep/11 ] | ||||
|
Kristina, | ||||
| Comment by Kristina Chodorow (Inactive) [ 01/Sep/11 ] | ||||
|
Thanks! It looks like your out of disk space on the master. If you look at the logs near the beginning, it tried to allocate the oplog on the master and errors out with:
| ||||
| Comment by Leonid Mikityanskiy [ 01/Sep/11 ] | ||||
|
Kristina, | ||||
| Comment by Kristina Chodorow (Inactive) [ 01/Sep/11 ] | ||||
|
Can you send the log from the master? It looks like it does not think it's master, are you sure it's looking at the right config file? A couple of other things:
|