Mongodb--Make at least 3379MB available in /data/db/journal or use ...

Error Code:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[root@cloud bin]# ./mongod
2016-07-22T14:34:05.781+0800 I JOURNAL [initandlisten] journal dir=/data/db/journal
2016-07-22T14:34:05.782+0800 I JOURNAL [initandlisten] recover : no journal files present, no recovery needed
2016-07-22T14:34:05.782+0800 I JOURNAL [initandlisten]
2016-07-22T14:34:05.782+0800 E JOURNAL [initandlisten] Insufficient free space for journal files
2016-07-22T14:34:05.782+0800 I JOURNAL [initandlisten] Please make at least 3379MB available in /data/db/journal or use --smallfiles
2016-07-22T14:34:05.782+0800 I JOURNAL [initandlisten]
2016-07-22T14:34:05.782+0800 I STORAGE [initandlisten] exception in initAndListen: 15926 Insufficient free space for journals, terminating
2016-07-22T14:34:05.782+0800 I CONTROL [initandlisten] now exiting
2016-07-22T14:34:05.783+0800 I NETWORK [initandlisten] shutdown: going to close listening sockets...
2016-07-22T14:34:05.783+0800 I NETWORK [initandlisten] removing socket file: /tmp/mongodb-27017.sock
2016-07-22T14:34:05.783+0800 I NETWORK [initandlisten] shutdown: going to flush diaglog...
2016-07-22T14:34:05.783+0800 I NETWORK [initandlisten] shutdown: going to close sockets...
2016-07-22T14:34:05.783+0800 I STORAGE [initandlisten] shutdown: waiting for fs preallocator...
2016-07-22T14:34:05.783+0800 I STORAGE [initandlisten] shutdown: final commit...
2016-07-22T14:34:05.783+0800 I STORAGE [initandlisten] shutdown: closing all files...
2016-07-22T14:34:05.784+0800 I STORAGE [initandlisten] closeAllFiles() finished
2016-07-22T14:34:05.784+0800 I CONTROL [initandlisten] dbexit: rc: 100

Profeel wechat
添加微信,加我好友,与我直接交流!

坚持原创技术分享,您的支持将鼓励我继续创作!