How-to increase /tmp partition

Sepivip

Verified User
Joined
Jan 19, 2007
Messages
33
Location
System32
Hello

I am looking for detailed tutorial for increasing TMP partition size on Fedora 6.

and how can I view current size of my /tmp ?
 
Your options are determined by what type of dev your separate /tmp is on.

1) You partitioned /tmp on a lvm. Go to this page: http://kbase.redhat.com/faq/FAQ_85_4842.shtm

2) You partitioned /tmp on a raid. replace 1 drive at a time with the new partition drive. Once all drives are replace look at man mdadm for resize command.

3) You partitioned /tmp on a /dev/h(s)dx. Replace the drive and repartition.

4) You did not partition /tmp on a seperate /dev meaning that /tmp is still part of /. Backup everything and start over.

Brian
 
4) You did not partition /tmp on a seperate /dev meaning that /tmp is still part of /. Backup everything and start over.
It is not necessary to start over. You can create a file, mount it as a loopback device, and use it for your /tmp directory.

We've done this successfully for several clients.

Jeff
 
Back
Top