title: How to resolve `FATAL: could not write lock file "postmaster.pid": No space left on device` error?
body: <p>I have installed postgres 8.4.9 database in my fedora core 14 and deployed an application. It was working fine until today before I tried to restart the system. Now I am unable to start the pgsql. When I am trying to start I am getting the following error</p>
  
  <blockquote>
    <p>FATAL:  could not write lock file "postmaster.pid": No space left on device</p>
  </blockquote>
  
  <p>I googled but was not able to find the solution for this issue.</p>
  
  <p>Could someone please help in solving this issue?</p>
  
  <p>This is the output of df -kh command:</p>
  
  <pre><code>Filesystem            Size  Used Avail Use% Mounted on
  /dev/vda              9.9G  9.5G     0 100% /
  tmpfs                 2.0G   88K  2.0G   1% /dev/shm
  </code></pre>