June 6, 2009

Ubuntu running out of tmp space

Filed under: linux, ubuntu — @ 15:16

If you run Ubuntu and you suddenly discover that your /tmp is running out of space then open up /etc/mtab

sudo vi /etc/mtab

Look for the entry that defines /tmp and put it in comment.

#overflow /tmp tmpfs rw,size=1048576,mode=1777 0 0

Don’t forget to do a reboot afterwards.

2 Comments

  1. Comment by jay — June 20, 2009 @ 19:09

    THis does not work for me. Upon reboot, mtab has been rewritten to add the line again. According to some posts, the OS writes this file on reboot.



  2. Comment by jeremy — July 7, 2009 @ 18:13

    no worky for me either, this seems to be a known issue: https://bugs.launchpad.net/ubuntu/+bug/285096



RSS feed for comments on this post. TrackBack URL

Leave a comment