Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

new to Linux here. Can anyone explain me how to increase the size of /tmp?

I was able to increse the size of /dev/mapper/vg00-usr, var and home , but how can I do if the /tmp folder is shown as "none". See my pic. Any help is appreciated!

enter image description here

share|improve this question

migrated from stackoverflow.com Apr 2 '12 at 4:28

This question came from our site for professional and enthusiast programmers.

1  
That looks like the output of the df command. What does mount output? (I'm looking for /tmp's filesystem type.) – thb Apr 2 '12 at 3:24
up vote 5 down vote accepted

CentOS use tmpfs for /tmp. Check your /etc/fstab for a line like this :

tmpfs /tmp tmpfs size=4g 0 0 

and change the size accordingly.

share|improve this answer

I was looking for this info for debian and found this thread after some more digging I just found the solution, just to note how it works here. To use disk instead of ram for tmpsfs edit /etc/default/rcS and set this:

RAMTMP=no

To increase the size of tmp there's another file (/etc/default/tmpfs) you can use

TMP_SIZE=2G

Part of this information have been extracted from here

share|improve this answer
    
CentOS, Karl !!! Centos.... – ADM Nov 19 '15 at 22:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .