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.

Advanced Partitioning order

Discussion in 'General Discussion' started by lunixcpanel, Aug 27, 2009.

  1. lunixcpanel

    lunixcpanel Member

    Joined:
    Oct 7, 2008
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    I was looking at "Advanced Partitioning"
    at
    Advanced Options: cPanel Pre-Installation

    /boot
    /usr
    /var
    /home
    /tmp
    swap

    Is that the recommended order of partitioning or the above is just random sequence?
    What I mean is what should be at the outermost(fastest) edge of the disk,
    middle and innermost.
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    That order is random. Usually you want to have most of your heavy read/write stuff near the inner edge. However, it's generally good practice to have /boot be near the inner edge. swap and /tmp will also be getting frequent read/writes. /usr is where logs are stored, /var is where MySQL databases reside and /home is where most user data (mail, web pages) resides. It's up to you to determine which order would work best for you or if you just want to use a simpler partitioning scheme of just /, /boot, /tmp and swap.
     
  3. lunixcpanel

    lunixcpanel Member

    Joined:
    Oct 7, 2008
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Thanks cPanelDavidG,

    Didn't you mean outer edge(the fastest) instead of inner?

    When you start partitioning, I assume the partitioning starts at outer tracks(the fastest), right?
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Good catch, I was thinking about where data is represented on hard disks in Windows after defragmentation and that threw off my whole thought process :). Outer tracks would certainly be faster, some claim up to 40% faster. Also, without that pesky 1024 cylinder limit on /boot like there was in the old days, you can essentially move any partition anywhere on the disk you feel it is best suited.
     
Loading...

Share This Page