Skip to main content

Go from a /tmp partition to tmpDSK?

Comments

3 comments

  • cPanelMichael
    Hello, Here are a couple of threads you may find helpful: SOLVED - secure /tmp directory increasing /usr/tmpDSK directory Thank you.
    0
  • bloom360
    Hi Michael, Thanks for that but I am not sure that addresses my specific situation?
      ]
    • Backup /var/tmp by typing the following: mv /var/tmp /var/tmpbackup
    • Make a symbolic link that makes /var/tmp point to /tmp by typing the following: ln -s /tmp /var/tmp
    • Copy back the old data using the command: cp /var/tmpbackup/* /tmp/
    • Remove the un-needed backup you created: rm -rf /var/tmpbackup

    My problem is my /tmp partition is already full. I want to stop using a separate partition and run tmp on the main drive, is that possible? That, and my original questions. I am very concerned about doing something that I see on someone else's blog or form thread without really knowing the implications and differences vs my own scenario. I reckon that this whole operation could seriously break my server and don't want to take it lightly.
    0
  • cPanelMichael
    My problem is my /tmp partition is already full. I want to stop using a separate partition and run tmp on the main drive, is that possible?

    Hello, That's not the intended purpose of the "/scripts/securetmp" script. This is more of an OS operation as opposed to a cPanel operation. The following CentOS thread should help point you in the right direction: move /tmp to separate partition - /tmp not mounted - CentOS It's generally a good idea to consult with a system administrator if you are uncomfortable making these types of changes to a system. We provide a list of system admin services at: System Administration Services | cPanel Forums Thank you.
    0

Please sign in to leave a comment.