title: How to configure storage.smallFiles on mongodb
body: <p>I have a CentOS machine where I installed mongodb and I want it to always use storage.smallFiles setting, so I went to <code>/etc</code> and I created a new file <code>/etc/mongodb.conf</code> where I added the following text and I saved:</p>
  
  <pre><code>storage:
     smallFiles:
        enabled: true
  </code></pre>
  
  <p>then I typed:</p>
  
  <pre><code>$ mongod --config /etc/mongodb.conf
  Unrecognized option: storage.smallFiles.enabled
  try 'mongod --help' for more information
  </code></pre>
  
  <p>I followed documentation on <a href="http://docs.mongodb.org/manual/reference/configuration-options/#storage.smallFiles">http://docs.mongodb.org/manual/reference/configuration-options/#storage.smallFiles</a></p>