Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

what is the best disk partitioning allocation setup for cpanel

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

  1. soundlib

    soundlib Member

    Sep 6, 2004
    Likes Received:
    Trophy Points:
    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:


    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

    Apr 7, 2003
    Likes Received:
    Trophy Points:
    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
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice