Open felipesmendes opened 9 years ago
I tried to run docker attach in mongo image and got this erro:
2015-10-01T16:17:47.927+0000 I JOURNAL [initandlisten] journal dir=/data/db/journal 2015-10-01T16:17:47.927+0000 I JOURNAL [initandlisten] recover : no journal files present, no recovery needed 2015-10-01T16:17:47.927+0000 I JOURNAL [initandlisten] 2015-10-01T16:17:47.927+0000 E JOURNAL [initandlisten] Insufficient free space for journal files 2015-10-01T16:17:47.928+0000 I JOURNAL [initandlisten] Please make at least 3379MB available in /data/db/journal or use --smallfiles 2015-10-01T16:17:47.928+0000 I JOURNAL [initandlisten] 2015-10-01T16:17:47.928+0000 I STORAGE [initandlisten] exception in initAndListen: 15926 Insufficient free space for journals, terminating 2015-10-01T16:17:47.928+0000 I CONTROL [initandlisten] now exiting 2015-10-01T16:17:47.928+0000 I NETWORK [initandlisten] shutdown: going to close listening sockets... 2015-10-01T16:17:47.928+0000 I NETWORK [initandlisten] removing socket file: /tmp/mongodb-27017.sock 2015-10-01T16:17:47.928+0000 I NETWORK [initandlisten] shutdown: going to flush diaglog... 2015-10-01T16:17:47.928+0000 I NETWORK [initandlisten] shutdown: going to close sockets... 2015-10-01T16:17:47.929+0000 I STORAGE [initandlisten] shutdown: waiting for fs preallocator... 2015-10-01T16:17:47.929+0000 I STORAGE [initandlisten] shutdown: final commit... 2015-10-01T16:17:47.929+0000 I STORAGE [initandlisten] shutdown: closing all files... 2015-10-01T16:17:47.929+0000 I STORAGE [initandlisten] closeAllFiles() finished 2015-10-01T16:17:47.929+0000 I CONTROL [initandlisten] dbexit: rc: 100
I have free space in the machine, how can I solve this?
Looks like it says...
Please make at least 3379MB available in /data/db/journal or use --smallfiles
Something like this I think
mongod --config /etc/mongodb.conf --smallFiles
I was using mupx and then went to a new deploy got the error bellow as it tried to re- run Setup and reconfig , does anyone have any idea of the cause and solution?