Results 1 to 8 of 8
  1. #1
    Join Date
    Sep 2009
    Posts
    361

    Hard Drive Load Balancing

    About to have a new server with two Ultra3200 Drives - 73GB and 146GB. Obviously I should split up /home and /var, however what would be the best recommendation for the remaining items on these drives. I should probably put everything but /home on the 73GB to maximize space but I wanted to know if there something that would be best to divide out like swap.

    Code:
    Disk 1 - 73GB
    /boot  	
    /var 	
    /usr 	
    /tmp 	
    swap - 4GB
    
    Disk 2 - 146GB
    /home
    Thanks!
    Frank

  2. #2
    Join Date
    Apr 2002
    Location
    Auckland - New Zealand
    Posts
    1,572
    Depends on what you are installing as to the size of partitions and where you store most of the data.

    I would add 1 x 2GB swap partition to each drive though.

    Don't forget / as well

    For me it would be this anyway

    Disk 1 - 73GB
    / - 10GB
    /boot - 100MB
    /var - %rest%
    /usr - 20GB
    /tmp - 1GB
    swap - 2GB

    Disk 2 - 146GB
    swap - 2GB
    /home

  3. #3
    Join Date
    Sep 2009
    Posts
    361
    Thanks for the suggestion. I have always gone with a default setup for my past servers since they are single hard drives.

    Do you secure /tmp when you are creating the partition or can you do it afterwards?

    Thanks,
    Frank

  4. #4
    Join Date
    Apr 2002
    Location
    Auckland - New Zealand
    Posts
    1,572
    You can change mount options etc in /etc/fstab after setup easily enough, or just edit the mount options at the time of creation. Either or, doesn't make any difference.
    I like to whiz through the installs and configure later usually.

  5. #5
    Creating swap on disk1 will be good and using the entire disk2 to /home will be fine. I think the settings provided by steven is abouselty perfect to start.
    www.24x7servermanagement.com
    Server Management, Server Security, Server Monitoring.
    India's Leading Managed Service Provider !! Skype: techs24x7

  6. #6
    Join Date
    Sep 2009
    Posts
    361
    Awesome. Thanks again!

  7. #7
    Join Date
    Jul 2009
    Posts
    240
    place /usr on one disk and /usr/lib on the other ..split your swap on the two disk also (as Steven suggested)

    also pay attention on the ordering of the partitions ..high IO partitions like /var should be placed closer to the spindle (lower cylinder number)

  8. #8
    Join Date
    Sep 2009
    Posts
    361
    How in the world would you place them closer to the center of the spindle?

Similar Threads

  1. Play wii games straight from a hard drive/USB flash drive
    By The Dude in forum Web Hosting Lounge
    Replies: 5
    Last Post: 04-09-2009, 11:40 AM
  2. How to transfer data from hard drive to hard drive in Linux?
    By wifiguru in forum Dedicated Server
    Replies: 8
    Last Post: 03-26-2007, 04:02 PM
  3. Load-balancing with two hard drives on a database-driven website
    By pmak0 in forum Hosting Security and Technology
    Replies: 5
    Last Post: 01-14-2006, 05:58 PM
  4. Use 2nd hard drive for database instead of having 1 drive do it all,smart move?
    By [email protected] in forum Hosting Security and Technology
    Replies: 5
    Last Post: 08-13-2005, 07:12 PM
  5. Backup Hard Drive to Hard Drive
    By TheRealDeal in forum Hosting Security and Technology
    Replies: 5
    Last Post: 10-08-2002, 06:10 PM

Posting Permissions

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