I hereby claim:
- I am comerford on github.
- I am comerford (https://keybase.io/comerford) on keybase.
- I have a public key whose fingerprint is A706 6556 2C81 E177 8932 2D88 9454 794E C192 0598
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# | |
# author: Tim "xGhOsTkiLLeRx" Brust | |
# license: CC BY-NC-SA 4.0 | |
# version: 0.2 | |
# date: 07/10/2014 | |
# description: replace (root) password of squashfs from openELEC | |
# usage: ./openELEC [password] [device] [hash] [user] | |
# dependencies: mkpassword (whois), squashfs-tools | |
# |
storage: | |
dbPath: "/ssd/db/wt_snappy" | |
engine: "wiredTiger" | |
systemLog: | |
destination: file | |
path: "/data/wt_snappy/mongodb.log" | |
processManagement: | |
fork: true |
storage: | |
dbPath: "/ssd/db/wt_none" | |
engine: "wiredTiger" | |
wiredTiger: | |
collectionConfig: "block_compressor=" | |
systemLog: | |
destination: file | |
path: "/data/wt_none/mongodb.log" | |
processManagement: | |
fork: true |
storage: | |
dbPath: "/ssd/db/mmap" | |
engine: "mmapv1" | |
systemLog: | |
destination: file | |
path: "/data/mmap/mongodb.log" | |
processManagement: | |
fork: true |
./mongod --storageEngine=rocksdb | |
2015-04-03T19:09:38.983+0100 I STORAGE Compression: snappy | |
2015-04-03T19:09:38.983+0100 I STORAGE MaxWriteMBPerSec: 1024 | |
2015-04-03T19:09:39.042+0100 I CONTROL [initandlisten] MongoDB starting : pid=16433 port=27017 dbpath=/data/db 64-bit host=fed-vm | |
2015-04-03T19:09:39.042+0100 I CONTROL [initandlisten] | |
2015-04-03T19:09:39.042+0100 I CONTROL [initandlisten] ** NOTE: This is a development version (3.1.1-pre-) of MongoDB. | |
2015-04-03T19:09:39.042+0100 I CONTROL [initandlisten] ** Not recommended for production. | |
2015-04-03T19:09:39.042+0100 I CONTROL [initandlisten] | |
2015-04-03T19:09:39.043+0100 I CONTROL [initandlisten] | |
2015-04-03T19:09:39.043+0100 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'. |
Fri Apr 20 16:22:27 [rsMgr] replSet can't see a majority, will not try to elect self | |
Fri Apr 20 16:22:28 [initandlisten] connection accepted from 192.168.2.71:59427 #3990253 (2 connections now open) | |
Fri Apr 20 16:22:28 [conn3990253] end connection 192.168.2.71:59427 (1 connection now open) | |
Fri Apr 20 16:22:28 [initandlisten] connection accepted from 192.168.2.72:55076 #3990254 (2 connections now open) | |
Fri Apr 20 16:22:28 [conn3990254] end connection 192.168.2.72:55076 (1 connection now open) | |
Fri Apr 20 16:22:30 [initandlisten] connection accepted from 192.168.2.71:59428 #3990255 (2 connections now open) | |
Fri Apr 20 16:22:30 [conn3990255] end connection 192.168.2.71:59428 (1 connection now open) | |
Fri Apr 20 16:22:30 [initandlisten] connection accepted from 192.168.2.72:55077 #3990256 (2 connections now open) | |
Fri Apr 20 16:22:30 [conn3990256] end connection 192.168.2.72:55077 (1 connection now open) | |
Fri Apr 20 16:22:32 [initandlisten] connection accepted from 192.168.2.71:59429 #3990257 (2 connections now open) |
// delete oplog, crete new and empty | |
testReplSet:PRIMARY> use local | |
switched to db local | |
testReplSet:PRIMARY> db.oplog.rs.drop() | |
true | |
testReplSet:PRIMARY> db.createCollection("oplog.rs", {capped:1, size: 2*1024*1024, autoIndexId:false}) | |
{ "ok" : 1 } | |
// run the command to get the fields | |
testReplSet:PRIMARY> db.getReplicationInfo() | |
{ |
storage: | |
dbPath: "/ssd/db/wt_zlib" | |
engine: "wiredTiger" | |
wiredTiger: | |
collectionConfig: "block_compressor=zlib" | |
systemLog: | |
destination: file | |
path: "/data/wt_zlib/mongodb.log" | |
processManagement: | |
fork: true |
storage: | |
dbPath: "/data/db/300-mm" | |
directoryPerDB: true | |
journal: | |
enabled: true | |
systemLog: | |
destination: file | |
path: "/data/db/300-mm/mongodb.log" | |
logAppend: true | |
timeStampFormat: iso8601-utc |