Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member mahdionline's Avatar
    Join Date
    Oct 2003
    Posts
    127

    Default /tmp directory

    we have a centos4.4 + cpanel.

    our box have a /tmp and I want to remount it with noexec.

    I edit "/etc/fstab" and then try to remount the /tmp for change the setting,
    I try " umount /dev/sda6 " I get this error :
    umount: /tmp: device is busy
    umount: /tmp: device is busy

    how can i do it ?

    Regard
    Mahdionline

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    If there are open files on it you cannot umount the drive, you would have to kill any processes that have files open on /tmp. However, there's no need to do that, just remount it instead:

    mount -v -o remount /tmp
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. Resize tmp directory need help
    By jackbwa in forum Optimization
    Replies: 6
    Last Post: 12-29-2010, 01:42 PM
  2. tmp directory
    By logikstudios in forum New User Questions
    Replies: 7
    Last Post: 02-18-2007, 04:31 PM
  3. cpbackup and tmp directory
    By EpicServers in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 12-04-2005, 03:14 PM
  4. /tmp directory full
    By LEEnoble in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-19-2004, 06:09 PM
  5. Deleting analog directory in TMP directory ?
    By dxer in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-14-2003, 01:41 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube