Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 4 of 4

This is a discussion on Creating partitions on a vps? in the VPS & Dedicated forum
Hi folks. I'm just about done locking down my vps and have come to a sticky patch. I'm not familiar with vps filesystems (vzfs) so ...

  1. #1
    JPC Member
    Join Date
    Nov 2005
    Posts
    3

    Creating partitions on a vps?

    Hi folks.
    I'm just about done locking down my vps and have come to a sticky patch.
    I'm not familiar with vps filesystems (vzfs) so I have no idea how to go about creating a partition for /tmp that I can mount with noexec,nosuid etc. I know what to do with a dedicated server with reiserfs/ext2 etc but this vps stuff has me stumped.

    Anyone done this or can it even be done from inside the vps?

  2. #2
    Wookiee JPC-Les's Avatar
    Join Date
    May 2002
    Location
    The Exogorths belly
    Posts
    1,265
    There are some different ways to do this however the simplest method would be to add the following lines to your /etc/fstab

    Code:
    none /tmp tmpfs nodev,nosuid,noexec 0 0
    none /var/tmp tmpfs nodev,nosuid,noexec 0 0
    none /dev/shm tmpfs nodev/nosuid,noexec 0 0
    (pm) | (email) Les, Chief Operations Officer

    Need a Manager?
    (pm) | (email) David, Customer Service Manager
    (pm) | (email) Masood, Chief Technical Officer

    Helpful Links
    Knowledge Base | Network Status | Current Specials

  3. #3
    JPC Member
    Join Date
    Nov 2005
    Posts
    3
    Hi Les and thank you for your answer.
    I had thought of doing that but I am on the discovery plan and memory is tight enough so I would rather not use tmpfs.
    Another point is /dev/shm is normally the mount point for tmpfs therefore I would rather create block devices for those three mount points.

    Any advice or options on how to create block devices within a vps?

  4. #4
    CTO JPC-Masood's Avatar
    Join Date
    Aug 2002
    Location
    Jaguar Servers
    Posts
    2,070
    Please open a support ticket and I will setup this for you.

    Masood N. | Chief Technical Officer
    JaguarPC.com


    Helpful Links
    Knowledge Base | Network Status

Bookmarks

Posting Permissions

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