Results 1 to 11 of 11
  1. #1
    Join Date
    Jan 2008
    Location
    United States
    Posts
    140

    CentOS5 - HDD Partition

    Hello,
    I'm trying to install CentOS5. Although the default partition should work fine for me, but I would like to create my own partition for /var, /usr/, /tmp, /swap, etc. Can you recommend me a good partion including the size. My server has 4GB RAM and 500GB SATA2 HDD. I don't use much space of HDD.

    Thank you

  2. #2
    It really depends on you...

    But note that most mysql/apache installs will have their files in /VAR (so make sure that has space)

    /HOME, depends how many users will be on the box.

    /USR, can be relatively small 4GB?

    /SWAP, some admins like double the physical ram, some like half the physical ram

    /TMP, depending on your application setup, should be okay with 4GB


    But it just depends how you are going to use your server?

    Good luck!
    Managed Virtual and Dedicated Servers Los Angeles - KEVWORKS
    Now with Level(3), Mzima, Telia, Global Crossing and Bandon

  3. #3
    Join Date
    Jan 2008
    Location
    United States
    Posts
    140
    If I choose the default partition from CentOS, how much space will be allocated to /etc, /var, /usr, and /tmp?

  4. #4
    The default uses LVM, so basically it gets split up in to the boot partition and the rest becomes "/".


    Hope that helps!
    Managed Virtual and Dedicated Servers Los Angeles - KEVWORKS
    Now with Level(3), Mzima, Telia, Global Crossing and Bandon

  5. #5
    Join Date
    Jan 2008
    Location
    United States
    Posts
    140
    So the rest will use the space of /home? If so, what is the benefit of giving "/etc, /var, /usr, and /tmp" a specific size?

  6. #6
    No the rest will be /, not /home

    Well... the benefit... hmmm some people just prefer that their folders have certain sizes etc while others could careless. Its still one physical drive. If you have multiple drives it would make a bit more sense if you wanted 400gb to be in /var (its own drive) etc.
    Managed Virtual and Dedicated Servers Los Angeles - KEVWORKS
    Now with Level(3), Mzima, Telia, Global Crossing and Bandon

  7. #7
    Join Date
    Jan 2008
    Location
    United States
    Posts
    140
    so /home will also use space of /, right?

  8. #8
    Yup that is correct!
    Managed Virtual and Dedicated Servers Los Angeles - KEVWORKS
    Now with Level(3), Mzima, Telia, Global Crossing and Bandon

  9. #9
    Join Date
    Jan 2008
    Location
    United States
    Posts
    140
    So I think another benefit of giving a specific space for /var, /usr, etc is preventing the issues when /home uses full the space of /

  10. #10
    Join Date
    Jun 2005
    Posts
    697
    Quote Originally Posted by loveweb View Post
    So I think another benefit of giving a specific space for /var, /usr, etc is preventing the issues when /home uses full the space of /
    You should monitor your server so it does not happen.
    ReflexNetworks means Happy Clients!

  11. #11
    Join Date
    Jun 2006
    Location
    APE: 6202A
    Posts
    1,273
    Quote Originally Posted by loveweb View Post
    Hello,
    I'm trying to install CentOS5. Although the default partition should work fine for me, but I would like to create my own partition for /var, /usr/, /tmp, /swap, etc. Can you recommend me a good partion including the size. My server has 4GB RAM and 500GB SATA2 HDD. I don't use much space of HDD.

    Thank you
    Depend if you run a CP and also depend which CP.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •