mongodump: fact.bson: input/output error












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









share|improve this question
















bumped to the homepage by Community 15 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.




















    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









    share|improve this question
















    bumped to the homepage by Community 15 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      1












      1








      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









      share|improve this question
















      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






      mongodb mongodb-3.0 mongodb-3.2






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jun 29 '18 at 13:06







      Irfi

















      asked Jun 29 '18 at 8:21









      IrfiIrfi

      184




      184





      bumped to the homepage by Community 15 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 15 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














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






          share|improve this answer
























          • 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








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "182"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f210941%2fmongodump-fact-bson-input-output-error%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














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






          share|improve this answer
























          • 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
















          0














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






          share|improve this answer
























          • 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














          0












          0








          0







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






          share|improve this answer













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







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jun 29 '18 at 8:28









          Gerard H. PilleGerard H. Pille

          1,307128




          1,307128













          • 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



















          • 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

















          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







          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







          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





          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





          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





          Perhaps "dump" is a symbolic link to "/" ?

          – Gerard H. Pille
          Jun 29 '18 at 11:37


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Database Administrators Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f210941%2fmongodump-fact-bson-input-output-error%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Ronny Ackermann

          Köttigit

          MySQL 8.0.15 starts normally but any connection hangs