Results 1 to 4 of 4
Hello,
What is the easiest way to increase the size of /tmp on a CentOS 5 server? I have done this before but forget how.
Thanks....
- 07-27-2008 #1Just Joined!
- Join Date
- Jun 2008
- Posts
- 31
Increase /tmp
Hello,
What is the easiest way to increase the size of /tmp on a CentOS 5 server? I have done this before but forget how.
Thanks.
- 07-27-2008 #2forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,095
If /tmp is a partition, you can use the PartedMagic LiveCD to easily increase the size of the partition.
Note that you'll need unallocated space adjacent to it in order to increase the partition size, so you can use the livecd to shrink one of the other partitions if need be in order to get the unallocated space.oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 07-27-2008 #3Just Joined!
- Join Date
- Jun 2008
- Posts
- 31
How do I know if /tmp is a partition? Also I can't use a livecd, it's a remote server.
- 07-27-2008 #4
you can check if /tmp is a partition by running mount without parameters.
this will show you the partition mounted as /tmp.Code:mount
for a remote server i dont think of any trivial way to shrink a partition(if you are not using LVM). what i would do is to make a PXE server locally , put the Live CD in the PXE server. then i point the remote server back to the local one and boot with the Live CD (over PXE) and i shrink the partition.
NOTE - to do this you need a console login and root permission on the remote server and of course the remote server is in your dhcp range. this is not trivial as i said above AND I WOULD NOT DO IT ON A PRODUCTION SYSTEM(you've been warned).Linux and me it's a love story


Reply With Quote