How do i increase TMP Folder Size on Centos 6?

Status
Not open for further replies.

madalinb

Active Member
51
2014
6
610
Hello,
Recently, I bought a dedicated server plan. My server is running CentOS 6 64bit.
I want to increase my TMP folder memory at 15-20 GB. Currently i have ~ 4 GB Space.
How to do this? Can someone explain me step by step how to do this in ssh? Currently i don't have anything installed on it.

DF -H results:

Filesystem Size Used Avail Use% Mounted on
/dev/sda2 102G 1.2G 96G 2% /
tmpfs 7.8G 0 7.8G 0% /dev/shm
/dev/sda1 485M 74M 386M 17% /boot
/dev/sda5 3.9G 8.1M 3.7G 1% /tmp

df -v results:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda2 106486856 1246564 99824356 2% /
tmpfs 8162564 0 8162564 0% /dev/shm
/dev/sda1 495844 75413 394831 17% /boot
/dev/sda5 4061888 8248 3843976 1% /tmp


Thank you
 
2 comments
Hello,
Recently, I bought a dedicated server plan. My server is running CentOS 6 64bit.
I want to increase my TMP folder memory at 15-20 GB. Currently i have ~ 4 GB Space.
How to do this? Can someone explain me step by step how to do this in ssh? Currently i don't have anything installed on it.

Thank you

You'll need to create a new partition for tmp or resize existing one /dev/sda5 partition.
Can you post here output of 'fdisk -l /dev/sda' or 'parted /dev/sda print' if you use GPT?
 
Why do you need it bigger? the tmp folder isn't related to memory.

If its for tmp uploading files you can change the dir in your script

eg. /home/tmp chmod 777
 
Status
Not open for further replies.
Back
Top