[Python] mongod 실행 중 ERROR: Insufficient free space for journal files 오류 해결법
Laptop
운영체제Ubuntu 16.04 LTS 64bit
mongod 명령어를 입력했을 때 ERROR: Insufficient free space for journal files 가 포함된 로그가 출력되면서 제대로 되지 않을 때가 있는데, --smallfiles 옵션을 추가하면 해결된다.
(에러 바로 아래에 [initandlisten] Please make at least 3379MB available in /data/db/journal or use --smallfiles 라는 로그가 함께 나오긴 한다.)
$ sudo mongod --smallfiles
혹은 mongod.conf 파일을 생성하여 smallfiles=true를 입력하면 된다.
/etc/ 에 생성했을 경우, 실행은...