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;
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
add a comment |
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
add a comment |
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
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
docker nfs mount mongodb
asked May 10 at 5:55
Ahemad AliAhemad Ali
11
11
add a comment |
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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