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.

Centos - Cpanel - Raid-1 and partitions

Discussion in 'Data Protection' started by xeonia, Mar 30, 2008.

  1. xeonia

    xeonia Member

    Joined:
    Jul 14, 2006
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I have an dedi with 2 x 250 gb hd's with raid-1.
    Now I just have one partition / for whole drive.

    Should I re-install and make proper partitions??
    Which partitions you recommend??

    Thanks for your help.

    I will backup to a local folder /cpbackup and rsync from there to nas.
     
  2. Dannyblaze

    Dannyblaze Member
    PartnerNOC

    Joined:
    Sep 28, 2004
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Gatineau, Quebec, Canada
    Hello xeonia,

    I personally prefer creating multiple partitions. If I had 2x 250Gb, I would probably set it up like this:

    Code:
    first drive:
    /boot  -> 200Mb
    /  -> 2Gb
    SWAP  -> 1.5x RAM
    /usr  -> 20Gb
    /var  -> 60Gb
    /home  -> ~160Gb (remaining space)
    
    second drive:
    /backup  -> use all space (or at least size of /home + size of /var)
    Of course, this varies depending on the size of the drives you use and the setup you want. If you want to use raid1, you might want to look into some off-site backups since Raid is never a replacement for backups. :D

    Hope this helps!
     
  3. LiNUxG0d

    LiNUxG0d Well-Known Member

    Joined:
    Jun 25, 2003
    Messages:
    206
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Gatineau, Quebec, Canada
    Hi xeonia,

    Just to add to what DannyBlaze said, using many partitions rather than one / is definitely something you'd want to do if you have the opportunity to. It doesn't really help with regards to speed or redundancy or anything, however, if you ever require a `fsck`, checking a smaller partition is much faster and may result in less downtime.

    Just another pro for you,
     
Loading...

Share This Page