LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-21-2010, 02:33 PM   #1
Subject16
Member
 
Registered: Nov 2009
Posts: 46

Rep: Reputation: 1
Are there any benefits to creating multiple partitions for RAID1 setups?


I searched and didn't see a thread that matched so here goes:

I am rebuilding a bunch of servers and want to do it right. They are Dell R200s and R300s with on-board LSI SAS1068E SCSI controllers with 2 SATA drives. The only RAID level supported on these cards is RAID 1. So, to the server, we have 148GB of space to deal with. They currently run 32-bit Ubuntu 8.10; I will be installing x64 Ubuntu 10.04.

I have always seen that it is best practice to partition in such a way that /boot, /var/log, /temp, and /home for example are separated out from /. Usually this is on a RAID5 or higher box. Is there any benefit to doing that sort of thing on a RAID1 box? I realize that this is in some ways a matter of opinion, but I would like the opinion of folks with experience. I'm pretty new to Linux in general.

The main services running on these boxes are Apache2, Tomcat6, MySQL, and Java.
 
Old 12-21-2010, 03:04 PM   #2
jwl17330536
Member
 
Registered: Feb 2010
Location: Raleigh, NC
Posts: 83

Rep: Reputation: 22
I always partition my installs so that there are several partitions. Every person has a different belief and can counter anything that I or anyone else says, just as I can counter them. I would recommend figuring out for yourself what you like and what fits your needs. (lame answer I know)

I don't know what you're going to be using these servers for, but what I have found to work in all situations is to create a /boot partition then install all the others in LVM. I always use the minimal sizes for swap, /, /usr, /tmp, /var, & /home. This way I can go back later and grow the partition if the server gets purposed differently than I planned. I work in a managed hosting business and this way works for all of our customers. (100,000 +)
 
Old 12-21-2010, 03:29 PM   #3
Subject16
Member
 
Registered: Nov 2009
Posts: 46

Original Poster
Rep: Reputation: 1
They're application servers only. No user data (or shouldn't be) so I feel like I don't need to put /home on a separate partition. I guess I was looking at this from a purely a performance perspective, because you may put /boot or most of / on a RAID1 hardware array, but put the data/application portions like MySQL would be on a different RAID5 array. I do tend to get these things mixed up.

I'm intending to go with a /boot, /var/log, swap, and / scheme. I would use lvm if I had more drive space, but there are no slots for additional hard drives so if I run out of space, I don't have anything to extend lvm onto.

Thanks for your suggestion/input. That was very helpful.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple Monitor/Location setups. keogk SUSE / openSUSE 0 03-21-2008 08:59 PM
Question on creating more partitions than default ones, i.e. /home,/root partitions casmac SUSE / openSUSE 1 12-20-2006 06:02 PM
Unscrambling multiple Grub boot setups Keithj Linux - General 3 08-18-2006 11:19 PM
Creating Software Raid1 Jimi_l SUSE / openSUSE 3 04-29-2005 05:54 AM
Creating multiple partitions in a software RAID heiseltc Linux - Hardware 1 05-31-2003 09:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration