[SERVER-29744] After relocating, server does not start Created: 20/Jun/17 Updated: 14/Aug/18 Resolved: 20/Jun/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 3.2.11 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Tarik | Assignee: | Kelsey Schubert |
| Resolution: | Done | Votes: | 0 |
| Labels: | docker, envc, rfi, wtc | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | Linux |
| Steps To Reproduce: | scp you /data/db/ directory |
| Participants: |
| Description |
|
Hello, relocating data directory to a larger server collapsed out data base. Server does not start. Here is the error: root@8bc03f2a68dc:/data/db# mongod --repair 2017-06-20T13:42:12.198+0000 I - [initandlisten] Detected data files in /data/db created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'. |
| Comments |
| Comment by Kelsey Schubert [ 20/Jun/17 ] |
|
Hi tarikaltuncu, Please note that mongod must be stopped while transferring data files using cp. Please note that SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag. A question like this involving more discussion would be best posted on the mongodb-users group. Kind regards, |
| Comment by Tarik [ 20/Jun/17 ] |
|
Hi Thomas, Yes, mongod was running on a Docker instance during the transfer (cp) of Thanks, |
| Comment by Kelsey Schubert [ 20/Jun/17 ] |
|
Hi tarikaltuncu, This error suggests that some sort of disk corruption occurred while data files were being moved. Would you please clarify the steps you took to move these files? Was the mongod running while the files were being copied? Thank you, |