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

Multi tool use
Multi tool use

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







          TAsh4cykmuIJSMFGb,G6meqZI5Y nl2GP tY,BwZ2zzWUa8l3xpZvMElTNqUtioQV4Kd
          2Rhii jksrpbMcet,7rVVaOessR,rXXzcKDxwlbea 3RVb6 Pcm J

          Popular posts from this blog

          RemoteApp sporadic failureWindows 2008 RemoteAPP client disconnects within a matter of minutesWhat is the minimum version of RDP supported by Server 2012 RDS?How to configure a Remoteapp server to increase stabilityMicrosoft RemoteApp Active SessionRDWeb TS connection broken for some users post RemoteApp certificate changeRemote Desktop Licensing, RemoteAPPRDS 2012 R2 some users are not able to logon after changed date and time on Connection BrokersWhat happens during Remote Desktop logon, and is there any logging?After installing RDS on WinServer 2016 I still can only connect with two users?RD Connection via RDGW to Session host is not connecting

          Vilaño, A Laracha Índice Patrimonio | Lugares e parroquias | Véxase tamén | Menú de navegación43°14′52″N 8°36′03″O / 43.24775, -8.60070

          Cegueira Índice Epidemioloxía | Deficiencia visual | Tipos de cegueira | Principais causas de cegueira | Tratamento | Técnicas de adaptación e axudas | Vida dos cegos | Primeiros auxilios | Crenzas respecto das persoas cegas | Crenzas das persoas cegas | O neno deficiente visual | Aspectos psicolóxicos da cegueira | Notas | Véxase tamén | Menú de navegación54.054.154.436928256blindnessDicionario da Real Academia GalegaPortal das Palabras"International Standards: Visual Standards — Aspects and Ranges of Vision Loss with Emphasis on Population Surveys.""Visual impairment and blindness""Presentan un plan para previr a cegueira"o orixinalACCDV Associació Catalana de Cecs i Disminuïts Visuals - PMFTrachoma"Effect of gene therapy on visual function in Leber's congenital amaurosis"1844137110.1056/NEJMoa0802268Cans guía - os mellores amigos dos cegosArquivadoEscola de cans guía para cegos en Mortágua, PortugalArquivado"Tecnología para ciegos y deficientes visuales. Recopilación de recursos gratuitos en la Red""Colorino""‘COL.diesis’, escuchar los sonidos del color""COL.diesis: Transforming Colour into Melody and Implementing the Result in a Colour Sensor Device"o orixinal"Sistema de desarrollo de sinestesia color-sonido para invidentes utilizando un protocolo de audio""Enseñanza táctil - geometría y color. Juegos didácticos para niños ciegos y videntes""Sistema Constanz"L'ocupació laboral dels cecs a l'Estat espanyol està pràcticament equiparada a la de les persones amb visió, entrevista amb Pedro ZuritaONCE (Organización Nacional de Cegos de España)Prevención da cegueiraDescrición de deficiencias visuais (Disc@pnet)Braillín, un boneco atractivo para calquera neno, con ou sen discapacidade, que permite familiarizarse co sistema de escritura e lectura brailleAxudas Técnicas36838ID00897494007150-90057129528256DOID:1432HP:0000618D001766C10.597.751.941.162C97109C0155020