我见过这个问题问过几次,但目前对我没有任何好处。因此,根据错误消息,即:
Tue May 31 16:06:09.566 [initandlisten] ERROR: Insufficient free space for journal files
Tue May 31 16:06:09.566 [initandlisten] Please make at least 3379MB available in data/journal or use --smallfiles
我的数据库名为data,所以当我运行mongod时,我需要遍历我的数据库所在的位置,所以我运行了mongod --dbp