On Tue, 5 Aug 2014 12:27:16 -0700
S Tan <simon1...@gmail.com> wrote:

 >I keep getting "ERROR: Insufficient free space for journal
 >files....Please make at least 3379MB available in
 >/var/lib/mongodb/journal or use --smallfiles." I am trying to run
 >mongodb with smallfiles option. Looked in /etc/mongodb.conf but I do
 >not see that as an option. So I modified /etc/init.d/mongodb (the
 >startup function) to include --smallfiles(in DAEMON_OPTS) but so far,
 >no go. Any help would appreciated. Thanks.

I believe --smallfiles is an option to limit the size of optional files
to 512MB.  You still need a heck of a lot of storage space if you are
going to run a cluster.  This option should probably go somewhere
in /etc/mongodb.conf   rather than in the init file.

what's the output of:
sudo df -H

You may need to expand a partition, or add a secondary drive and mount
it at /var/lib/mongodb

Personally, I've found mongodb too complicated and cumbersome for most
of my use cases... postgresql is my go to database pretty much
everywhere.

--Andrew


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20140805160318.a693e743a046cc956452e...@1024bits.com

Reply via email to