Results 1 to 6 of 6

Thread: Partition Schema

  1. #1
    Member
    Join Date
    Jan 2005
    Location
    /dev/null
    Posts
    770

    Default Partition Schema

    Hi All,

    I will be buying a cpanel license tomorrow, please could someone recommend a partition schema for a 73GB drive, I am unsure as to how much space to allocate to each partition

    many thanks.

    Nick Pack

  2. #2
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,780

    Default

    In the cpanel docs at http://www.cpanel.net there are recommendations for partiioning.
    Regards,
    David
    Forum Moderator

  3. #3
    Member
    Join Date
    Jan 2005
    Location
    /dev/null
    Posts
    770

    Default

    thankyou, and apologies for cross-posting this.

    I wonder could you please advise on the following schema, having read the doc you said about, I have decided on this:

    1GB /
    50MB /boot
    1GB /tmp
    15GB /usr
    15GB /var
    1GB swap

    everything else to /home

    apologies to be nagging about this but I really do need to get this right, i understand everyone here helps of their own free will and that is greatly appreciated.

    The server will be hosting somewhere in the region of 300 accounts on a 73.3GB Drive

    thank you

  4. #4
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,496

    Default

    Personally:

    I'd give more to / so that you're free to store what you want in /root and other top level dirs.

    I wouldn't give /usr 15GB, that's probably excessive and 10GB would be plenty.

    Swap should be 2*RAM.

    /var looks good because of log files, mail spool, but most importantly, MySQL databases live there by default.

    /boot is entirely up to how many kernels you like to keep. 50MB should be fine.

    The rest for /home and an completely separate disk for /backup if you can.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  5. #5
    Member
    Join Date
    Jan 2005
    Location
    /dev/null
    Posts
    770

    Default

    thankyou so much.

    box has a gig of ram & a 2.8ghz Xeon, does it need more than a gig of swap in your opinion?

  6. #6
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,496

    Default

    Have a read here for good reasons for having swap as 2*RAM:
    http://www.linux-tutorial.info/modul...ial&pageid=218
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads

  1. ASP Schema
    By david_sh in forum Enkompass Discussions
    Replies: 0
    Last Post: 05-25-2011, 09:55 AM
  2. Postgresql Schema / pg_dump issue
    By noosalife in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 04-13-2011, 04:34 PM
  3. DB: "information schema" visible to users
    By 4u123 in forum cPanel & WHM Discussions
    Replies: 5
    Last Post: 01-09-2008, 11:03 AM
  4. postgresql ownership / schema
    By Secret Agent in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 09-20-2006, 09:24 PM
  5. Partition
    By mpregent in forum cPanel & WHM Discussions
    Replies: 4
    Last Post: 02-11-2005, 04:45 PM