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.

Recommended Partition setting

Discussion in 'General Discussion' started by MyZipple, Aug 13, 2007.

  1. MyZipple

    MyZipple Registered

    Aug 10, 2007
    Likes Received:
    Trophy Points:
    Hello I am setting up a new 80g server. I have seen the recommended settings in the cpanel documantation for an 80g drive. Do you see any reason why the below setting would be necessary. The company hosting the server says these settings have bee tested many times and is what they recommend.

    Filesystem Size Used Avail Use% Mounted on
    /dev/hda5 7.9G 297M 7.2G 4% /
    /dev/hda1 122M 14M 102M 13% /boot
    /dev/hda6 15G 9.9G 4.1G 72% /home
    /dev/hda7 1012M 34M 927M 4% /tmp
    /dev/hda2 20G 2.9G 16G 16% /usr
    /dev/hda3 9.9G 740M 8.7G 8% /var
    /tmp 1012M 34M 927M 4% /var/tmp
    none 502M 0 502M 0% /dev/shm

    As you can see I am already running out of space in /home, but have a lot of unused space in other partitions. Also I do not see an area for backup. Any recommedations or explanations are greatly appreciated.

    If I have to add another drive can it be set as 1 partition as /home2 and if In understand correctly all extra in home will just automatically go to /home2?
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Apr 7, 2006
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    If you add another drive, mounted on /home2, then in the Basic WHM setup, make certain the Home Match field is set to home and all new accounts will be created in /home2 (the home partition with the most free space available).

    For /backup, having another drive, or a remote (NAS for example) would help.
  3. Website Rob

    Website Rob Well-Known Member

    Mar 23, 2002
    Likes Received:
    Trophy Points:
    Alberta, Canada
    cPanel Access Level:
    Root Administrator
    If you are setting up a NEW Server then why go with an 80 GB drive? Makes no sense.
    Most DCs can provide at least 160 GB and you'll be better off for it.

    Based on experience, you can give yourself better security by partitioning like so -- based on a 160 GB HD.

    100 MB /
    080 MB /boot
    001 GB /tmp
    012 GB /usr
    016 GB /var

    The rest to /home partition.

    Also, do not let them talk you into your 'swap' drive being more than 1 GB.

    It was already mentioned that Backups should have a seperate HD altogether and that is excellent advice.

Share This Page