LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
Search this Thread
Old 08-29-2013, 01:50 AM   #1
manoj.linux
Member
 
Registered: Aug 2007
Posts: 224

Rep: Reputation: 15
how to add /tmp file system.


Hi,

I am facing disk space issue as /tmp is utilizing 5 GB disk space.

However I am having a partition of 10gb, I want to know how to create as /tmp partition and change the path from root to new disk?
 
Old 08-29-2013, 02:38 AM   #2
astrogeek
Senior Member
 
Registered: Oct 2008
Distribution: Slackware: 12.1, 13.1, 14.1, 64-14.1, -current, FreeBSD-10
Posts: 1,776

Rep: Reputation: 603Reputation: 603Reputation: 603Reputation: 603Reputation: 603Reputation: 603
Quote:
Originally Posted by manoj.linux View Post
Hi,

I am facing disk space issue as /tmp is utilizing 5 GB disk space.

However I am having a partition of 10gb, I want to know how to create as /tmp partition and change the path from root to new disk?
You really should simply clean out the /tmp!

If it is a continuously running server you can google for several ways to remove stale stuff in there.

If it is a system that gets rebooted frequently simply clean it out just before shutdown or immediately after boot should be safe.

If you really want a separate /tmp partition, format the partition, mount and/or add it to your fstab.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I want to add space to my file system junichimataji Linux - Newbie 1 05-08-2011 11:15 PM
Can't empty the /tmp directory Read-only file system warning roctaiwan Linux - Newbie 8 03-04-2010 06:24 AM
Can't login, says tmp directory full but tmp file is empty! Could be linked to MySQL? bethanlowder Fedora 7 09-25-2009 07:17 AM
add new kernel module/file system blackzone Linux - General 1 11-07-2004 11:14 PM
Create file using 'touch ./tmp.$$', file tmp.3941 is created, why? huangyanfeng Linux - General 1 04-13-2004 03:36 AM


All times are GMT -5. The time now is 09:43 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration