1

We are trying to export 1.5TB database into mongodb. But its fail after 100gb and giving us below error. As we notice root mount point got 100% space. We are using below command:

mongodump -u admin -p xx_admin_db -d xx --host xx.xx.xx.xx --authenticationDatabase admin

2018-06-28T12:20:30.687+0000    [........................]  xx1.fact  14679565/468546715  (3.1%)
2018-06-28T12:20:31.192+0000    [........................]  xx1.fact  14680477/468546715  (3.1%)
2018-06-28T12:20:31.195+0000    Failed: error writing to file: write dump/xx/xxx.bson: input/output error
0

Use the --out/-o parameter to indicate a directory on a filesystem where you have enough room.

  • relevant mount point have sufficient space but we dont know why our root mount points is going to 100% fill. Anything copying into "/" mount point from mongodump utility ??? – Irfi Jun 29 '18 at 9:57
  • start the dump, while it is running, run "find / -xdev -mmin -5 -type f" (I hope mongodump does not create a file, and deletes it without closing). BTW, what do you consider the "relevant mount point"? What is $PWD when you run mongodump? – Gerard H. Pille Jun 29 '18 at 10:15
  • we moved into mount point with 2TB size and mongodump use this mount point but during backup why root "/" mount point filled 100% ?? – Irfi Jun 29 '18 at 11:30
  • Maybe you're mistaken about the mount. You're not answering my questions. Can you add the output of "mount" to your question? If you execute the "find", you will have the answer to "why root mount point filled 100%". – Gerard H. Pille Jun 29 '18 at 11:36
  • Perhaps "dump" is a symbolic link to "/" ? – Gerard H. Pille Jun 29 '18 at 11:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.