title: MongoDB /data/db/ does not exist but did before
body: <p>Last night I went to bed and everything was fine. I woke up today and connection to the DB couldn't be established. So I rebooted, ran <code>mongod --repair</code> and got this error</p>
  
  <pre><code> ERROR: dbpath (/data/db/) does not exist.
   Create this directory or give existing directory in --dbpath.
   See http://dochub.mongodb.org/core/startingandstoppingmongo
  </code></pre>
  
  <p>But this all worked fine, so I tried to cd into the folder /data/ and that folder doesn't exist. I used all of the default settings when setting up Mongo, it worked great for two weeks and now this. When the heck happened?</p>