The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

what is the best disk partitioning allocation setup for cpanel

Discussion in 'General Discussion' started by soundlib, Sep 6, 2004.

  1. soundlib

    soundlib Member

    Joined:
    Sep 6, 2004
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    According to the Cpanel website, they write say that
    the following partitions are recommended prior to installing cPanel for a 40GB drive:

    001 GB /
    050 MB /boot (No seperate /boot for FreeBSD)
    001 GB /tmp
    010 GB /usr
    007 GB /var
    001 GB swap (swap should be 2x RAM)
    Remaining space to /home

    I am planning to put up a 210GB SCSI drive on RAID5.
    Has anyone every experimented with:

    100MB /boot
    4 GB swap
    And the remaining space goes to: /

    Basically, I figure it would be easier to just not define a /var, /usr, or /tmp partition,
    and allow that to be handled by /

    Does anyone see any potential problems for this?

    What I am worried about is that if I do not allocate enough space to: /usr and /var,
    and then find out that it is completely filled up, I might have a hard
    time re-allocating the space later?

    Since this is my first time with Cpanel, I have no idea how much space is really
    necessary for /var, /usr, and /tmp

    Is putting everything under / a good idea?

    From experience, what is the usual amount of space taken by:

    /var
    /usr
    /tmp

    on a multi-user system which is jammed packed with say 600 users.

    What items will take up most of the space on /var, /usr, and /tmp?


    Can we get a list of potential problems that can occur if only the
    / partition was specfied? I know it can be very tempting to do that to maximize the
    amount of allocatable space on the system.
     
    #1 soundlib, Sep 6, 2004
    Last edited: Sep 6, 2004
  2. dave9000

    dave9000 Well-Known Member

    Joined:
    Apr 7, 2003
    Messages:
    891
    Likes Received:
    1
    Trophy Points:
    16
    Location:
    arkansas
    cPanel Access Level:
    Root Administrator
    i do mine with 100mb /boot
    1gig swap
    and i do a 1 gig /tmp

    and the rest to /

    the seperate /tmp lets you mount it noexec

    been using this setup for a long time and everything works out perfect
     
Loading...

Share This Page