Nfs mount as storage for mongodb dockerNFS. Non-root mount requestsmount using insecure ports for nfsnfs mount with nfs 3Cannot connect to MongoDB in dockerunable to mount XFS after rescueCreate a new user for MongoDB inside DockerNFS mount internal errorDocker mount volume ignores .ini fileMongo Docker Corrupted

Grade-school elementary algebra presented in an abstract-algebra style?

Variable declaraton with extra in C

Would Buddhists help non-Buddhists continuing their attachments?

How was Daenerys able to legitimise this character?

Swapping L15-30 with L21-30

Is keeping the forking link on a true fork necessary (Github/GPL)?

What is the recommended procedure to land a taildragger in a crosswind?

What are nvme namespaces? How do they work?

How to let other coworkers know that I don't share my coworker's political views?

Can we show a sum of symmetrical cosine values is zero by using roots of unity?

Co-author wants to put their current funding source in the acknowledgements section because they edited the paper

Dad jokes are fun

...And they were stumped for a long time

Natural Armour and Weapons

USPS Back Room - Trespassing?

Is it legal to have an abortion in another state or abroad?

Why did Jon Snow do this immoral act if he is so honorable?

Why do Russians almost not use verbs of possession akin to "have"?

How to find a dynamically assigned aura:id?

Python program for fibonacci sequence using a recursive function

Is there an idiom that means that you are in a very strong negotiation position in a negotiation?

How does the Earth's center produce heat?

Can a UK national work as a paid shop assistant in the USA?

Creating second map without labels using QGIS?



Nfs mount as storage for mongodb docker


NFS. Non-root mount requestsmount using insecure ports for nfsnfs mount with nfs 3Cannot connect to MongoDB in dockerunable to mount XFS after rescueCreate a new user for MongoDB inside DockerNFS mount internal errorDocker mount volume ignores .ini fileMongo Docker Corrupted






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I created nfs mount point using below command.
sudo mount -t nfs -o vers=3,proto=tcp,nolock,noacl,sync host:/ /mnt/netcool



Starting the docker using the above storage for mongo



sudo docker run --name mongo-jg -v /mnt/netcool/data/mongodb:/data/db -p 27017:27017 mongo:3.6



I get below permission denied message, so i tried changing the owner and permissions to file still didnt work.



chown: changing ownership of ‘/data/db’: Permission denied



I added --user mongodb to above command and docker starts but fails after a minute with below error.



l $ sudo docker run --name mongo-jg -v /mnt/netcool/data/mongodb:/data/db -p 27017:27017 --user mongodb mongo:3.6



2019-05-09T12:11:19.621+0000 I CONTROL [initandlisten] MongoDB starting : pid=1 port=27017 dbpath=/data/db 64-bit host=a5be72050901



2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] db version v3.6.12



2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] git version: c2b9acad0248ca06b14ef1640734b5d0595b55f1



2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016



2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] allocator: tcmalloc



2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] modules: none



2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] build environment:



2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] distmod: ubuntu1604



2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] distarch: x86_64



2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] target_arch: x86_64



2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] options: net: bindIpAll: true



2019-05-09T12:11:19.632+0000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=63873M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),compatibility=(release=“3.0”,require_max=“3.0”),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress),



2019-05-09T12:11:49.977+0000 E STORAGE [initandlisten] WiredTiger error (22) [1557403909:977357][1:0x7fda43e1ca40], connection: __posix_file_write, 579: /data/db/journal/WiredTigerLog.0000000002: handle-write: pwrite: failed to write 128 bytes at offset 128: Invalid argument



2019-05-09T12:11:49.977+0000 E STORAGE [initandlisten] WiredTiger error (22) [1557403909:977423][1:0x7fda43e1ca40], connection: __log_fs_write, 212: journal/WiredTigerLog.0000000002: fatal log failure: Invalid argument



2019-05-09T12:11:49.977+0000 E STORAGE [initandlisten] WiredTiger error (-31804) [1557403909:977435][1:0x7fda43e1ca40], connection: __wt_panic, 523: the process must exit and restart: WT_PANIC: WiredTiger library panic



2019-05-09T12:11:49.977+0000 F - [initandlisten] Fatal Assertion 28558 at src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp 376



2019-05-09T12:11:49.977+0000 F - [initandlisten]



***aborting after fassert() failure
2019-05-09T12:11:49.994+0000 F - [initandlisten] Got signal: 6 (Aborted).



Can someone help what could be the problem ?



Thanks,
Ahemad










share|improve this question




























    0















    I created nfs mount point using below command.
    sudo mount -t nfs -o vers=3,proto=tcp,nolock,noacl,sync host:/ /mnt/netcool



    Starting the docker using the above storage for mongo



    sudo docker run --name mongo-jg -v /mnt/netcool/data/mongodb:/data/db -p 27017:27017 mongo:3.6



    I get below permission denied message, so i tried changing the owner and permissions to file still didnt work.



    chown: changing ownership of ‘/data/db’: Permission denied



    I added --user mongodb to above command and docker starts but fails after a minute with below error.



    l $ sudo docker run --name mongo-jg -v /mnt/netcool/data/mongodb:/data/db -p 27017:27017 --user mongodb mongo:3.6



    2019-05-09T12:11:19.621+0000 I CONTROL [initandlisten] MongoDB starting : pid=1 port=27017 dbpath=/data/db 64-bit host=a5be72050901



    2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] db version v3.6.12



    2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] git version: c2b9acad0248ca06b14ef1640734b5d0595b55f1



    2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016



    2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] allocator: tcmalloc



    2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] modules: none



    2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] build environment:



    2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] distmod: ubuntu1604



    2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] distarch: x86_64



    2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] target_arch: x86_64



    2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] options: net: bindIpAll: true



    2019-05-09T12:11:19.632+0000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=63873M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),compatibility=(release=“3.0”,require_max=“3.0”),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress),



    2019-05-09T12:11:49.977+0000 E STORAGE [initandlisten] WiredTiger error (22) [1557403909:977357][1:0x7fda43e1ca40], connection: __posix_file_write, 579: /data/db/journal/WiredTigerLog.0000000002: handle-write: pwrite: failed to write 128 bytes at offset 128: Invalid argument



    2019-05-09T12:11:49.977+0000 E STORAGE [initandlisten] WiredTiger error (22) [1557403909:977423][1:0x7fda43e1ca40], connection: __log_fs_write, 212: journal/WiredTigerLog.0000000002: fatal log failure: Invalid argument



    2019-05-09T12:11:49.977+0000 E STORAGE [initandlisten] WiredTiger error (-31804) [1557403909:977435][1:0x7fda43e1ca40], connection: __wt_panic, 523: the process must exit and restart: WT_PANIC: WiredTiger library panic



    2019-05-09T12:11:49.977+0000 F - [initandlisten] Fatal Assertion 28558 at src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp 376



    2019-05-09T12:11:49.977+0000 F - [initandlisten]



    ***aborting after fassert() failure
    2019-05-09T12:11:49.994+0000 F - [initandlisten] Got signal: 6 (Aborted).



    Can someone help what could be the problem ?



    Thanks,
    Ahemad










    share|improve this question
























      0












      0








      0








      I created nfs mount point using below command.
      sudo mount -t nfs -o vers=3,proto=tcp,nolock,noacl,sync host:/ /mnt/netcool



      Starting the docker using the above storage for mongo



      sudo docker run --name mongo-jg -v /mnt/netcool/data/mongodb:/data/db -p 27017:27017 mongo:3.6



      I get below permission denied message, so i tried changing the owner and permissions to file still didnt work.



      chown: changing ownership of ‘/data/db’: Permission denied



      I added --user mongodb to above command and docker starts but fails after a minute with below error.



      l $ sudo docker run --name mongo-jg -v /mnt/netcool/data/mongodb:/data/db -p 27017:27017 --user mongodb mongo:3.6



      2019-05-09T12:11:19.621+0000 I CONTROL [initandlisten] MongoDB starting : pid=1 port=27017 dbpath=/data/db 64-bit host=a5be72050901



      2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] db version v3.6.12



      2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] git version: c2b9acad0248ca06b14ef1640734b5d0595b55f1



      2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016



      2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] allocator: tcmalloc



      2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] modules: none



      2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] build environment:



      2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] distmod: ubuntu1604



      2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] distarch: x86_64



      2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] target_arch: x86_64



      2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] options: net: bindIpAll: true



      2019-05-09T12:11:19.632+0000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=63873M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),compatibility=(release=“3.0”,require_max=“3.0”),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress),



      2019-05-09T12:11:49.977+0000 E STORAGE [initandlisten] WiredTiger error (22) [1557403909:977357][1:0x7fda43e1ca40], connection: __posix_file_write, 579: /data/db/journal/WiredTigerLog.0000000002: handle-write: pwrite: failed to write 128 bytes at offset 128: Invalid argument



      2019-05-09T12:11:49.977+0000 E STORAGE [initandlisten] WiredTiger error (22) [1557403909:977423][1:0x7fda43e1ca40], connection: __log_fs_write, 212: journal/WiredTigerLog.0000000002: fatal log failure: Invalid argument



      2019-05-09T12:11:49.977+0000 E STORAGE [initandlisten] WiredTiger error (-31804) [1557403909:977435][1:0x7fda43e1ca40], connection: __wt_panic, 523: the process must exit and restart: WT_PANIC: WiredTiger library panic



      2019-05-09T12:11:49.977+0000 F - [initandlisten] Fatal Assertion 28558 at src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp 376



      2019-05-09T12:11:49.977+0000 F - [initandlisten]



      ***aborting after fassert() failure
      2019-05-09T12:11:49.994+0000 F - [initandlisten] Got signal: 6 (Aborted).



      Can someone help what could be the problem ?



      Thanks,
      Ahemad










      share|improve this question














      I created nfs mount point using below command.
      sudo mount -t nfs -o vers=3,proto=tcp,nolock,noacl,sync host:/ /mnt/netcool



      Starting the docker using the above storage for mongo



      sudo docker run --name mongo-jg -v /mnt/netcool/data/mongodb:/data/db -p 27017:27017 mongo:3.6



      I get below permission denied message, so i tried changing the owner and permissions to file still didnt work.



      chown: changing ownership of ‘/data/db’: Permission denied



      I added --user mongodb to above command and docker starts but fails after a minute with below error.



      l $ sudo docker run --name mongo-jg -v /mnt/netcool/data/mongodb:/data/db -p 27017:27017 --user mongodb mongo:3.6



      2019-05-09T12:11:19.621+0000 I CONTROL [initandlisten] MongoDB starting : pid=1 port=27017 dbpath=/data/db 64-bit host=a5be72050901



      2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] db version v3.6.12



      2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] git version: c2b9acad0248ca06b14ef1640734b5d0595b55f1



      2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016



      2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] allocator: tcmalloc



      2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] modules: none



      2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] build environment:



      2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] distmod: ubuntu1604



      2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] distarch: x86_64



      2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] target_arch: x86_64



      2019-05-09T12:11:19.622+0000 I CONTROL [initandlisten] options: net: bindIpAll: true



      2019-05-09T12:11:19.632+0000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=63873M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),compatibility=(release=“3.0”,require_max=“3.0”),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress),



      2019-05-09T12:11:49.977+0000 E STORAGE [initandlisten] WiredTiger error (22) [1557403909:977357][1:0x7fda43e1ca40], connection: __posix_file_write, 579: /data/db/journal/WiredTigerLog.0000000002: handle-write: pwrite: failed to write 128 bytes at offset 128: Invalid argument



      2019-05-09T12:11:49.977+0000 E STORAGE [initandlisten] WiredTiger error (22) [1557403909:977423][1:0x7fda43e1ca40], connection: __log_fs_write, 212: journal/WiredTigerLog.0000000002: fatal log failure: Invalid argument



      2019-05-09T12:11:49.977+0000 E STORAGE [initandlisten] WiredTiger error (-31804) [1557403909:977435][1:0x7fda43e1ca40], connection: __wt_panic, 523: the process must exit and restart: WT_PANIC: WiredTiger library panic



      2019-05-09T12:11:49.977+0000 F - [initandlisten] Fatal Assertion 28558 at src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp 376



      2019-05-09T12:11:49.977+0000 F - [initandlisten]



      ***aborting after fassert() failure
      2019-05-09T12:11:49.994+0000 F - [initandlisten] Got signal: 6 (Aborted).



      Can someone help what could be the problem ?



      Thanks,
      Ahemad







      docker nfs mount mongodb






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked May 10 at 5:55









      Ahemad AliAhemad Ali

      11




      11




















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "2"
          ;
          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: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          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%2fserverfault.com%2fquestions%2f966672%2fnfs-mount-as-storage-for-mongodb-docker%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Server Fault!


          • 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%2fserverfault.com%2fquestions%2f966672%2fnfs-mount-as-storage-for-mongodb-docker%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

          Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

          Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

          What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company