Find the answer to your Linux question:
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....
  1. #1
    RAH
    RAH is offline
    Just Joined!
    Join Date
    Jun 2008
    Posts
    31

    Question 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.

  2. #2
    oz
    oz is offline
    forum.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.

  3. #3
    RAH
    RAH is offline
    Just 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.

  4. #4
    Linux Engineer khafa's Avatar
    Join Date
    Apr 2008
    Location
    Tokyo, Japan
    Posts
    858
    you can check if /tmp is a partition by running mount without parameters.
    Code:
    mount
    this will show you the partition mounted as /tmp.

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...