title: ERROR: could not create directory "base/16386": No space left on device
body: <p>I receive the same error when I try to create a database with</p>
  
  <pre><code>CREATE DATABASE dwh;
  </code></pre>
  
  <p>and </p>
  
  <pre><code>createdb dwh;
  </code></pre>
  
  <p>namely:</p>
  
  <pre><code>createdb: database creation failed: ERROR:  could not create directory "base/16385": No space left on device
  </code></pre>
  
  <p>and </p>
  
  <pre><code>ERROR:  could not create directory "base/16386": No space left on device
  </code></pre>
  
  <p>I am using a postgres AMI on aws  (PostgreSQL/Ubuntu provided by OpenLogic)<a href="https://aws.amazon.com/marketplace/ordering/ref=dtl_psb_continue?ie=UTF8&amp;productId=13692aed-193f-4384-91ce-c9260eeca63d&amp;region=eu-west-1" rel="nofollow">https://aws.amazon.com/marketplace/ordering/ref=dtl_psb_continue?ie=UTF8&amp;productId=13692aed-193f-4384-91ce-c9260eeca63d&amp;region=eu-west-1</a></p>
  
  <p>provisioned with m2.xlarge machine, which should have 17GB RAM and 350GB SSD</p>