VPS Problem

Discussion in 'Site & Server Administration' started by Axcell, Apr 11, 2010.

  1. #1
    I have a vps and it doesn't have /tmp and /dev/shm
    in /etc/fstab
    none /dev/pts devpts rw 0 0

    How to create /tmp and /dev/shm ?
     
    Axcell, Apr 11, 2010 IP
  2. Axcell

    Axcell Active Member

    Messages:
    128
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    73
    #2
    anyone can help?
     
    Axcell, Apr 11, 2010 IP
  3. Internal09

    Internal09 Member

    Messages:
    256
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    35
    #3
    /tmp and /dev are files in the main root of the servers. So just go and create it.
     
    Internal09, Apr 11, 2010 IP
  4. Axcell

    Axcell Active Member

    Messages:
    128
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    73
    #4
    Not that simple. /tmp and /dev/shm are mount partitions
     
    Axcell, Apr 11, 2010 IP
  5. PsyHost

    PsyHost Well-Known Member

    Messages:
    641
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    110
    #5
    tmpfs /tmp tmpfs nodev,nosuid,noexec,mode=1777 0 0

    In fstab, reboot and see how you go.
     
    PsyHost, Apr 11, 2010 IP
  6. sysadmin

    sysadmin Peon

    Messages:
    111
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    In general vps providers won't allow to enable access for external partitions . May be you can use Xen vps , so you can create any type of partitions in xen full virtualization
     
    sysadmin, Apr 15, 2010 IP
  7. David L

    David L Peon

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    If you have a fully managed VPS, you can contact your hosting provider and ask them to solve the problem for you.
     
    David L, Apr 16, 2010 IP
  8. Axcell

    Axcell Active Member

    Messages:
    128
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    73
    #8
    Wow, its works. Thx for /tmp but not for ramdisk /dev/shm.
    Thx anyway
     
    Axcell, Apr 17, 2010 IP