| Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
Due to network maintenance being performed by our provider, LQ will be down starting at 05:01 AM UTC. The exact duration of the downtime isn't currently known. We apologize for the inconvenience.
|
 |
02-04-2010, 06:48 AM
|
#1
|
|
Member
Registered: Nov 2004
Location: London, UK
Distribution: CentOS, IPCop
Posts: 90
Rep:
|
CentOS install onto software RAID 10
Hi everyone
Just a quick one really.
Planning a new server install (to eventually run Zimbra) and I'll be going with CentOS since our file server and intranet servers both run it as well.
The server will only be serving 10-15 users so I've gone for plain old 500GB SATA drives and I'm planning to put 4 of these in a RAID 10 (we have 4 spare after recently upgrading our file server).
I've never experimented with Linux software RAID before but it seems like its been around a while and I've read other people using it on a day to day basis.
For this server I thought I could get away with software RAID 10 since it should be less demanding on the CPU compared to RAID 5/6.
And I'd like the improved performance that RAID 10 offers over a plain RAID 1 mirror.
It seems relatively easy to set up under CentOS as there's software RAID options during the install process but one thing I did read is that the /boot partition has to be installed on a RAID 1
So how about this for a plan:
Create 4x 200MB software RAID partitions (one per drive) then configure them in a RAID 1 for /boot
Then 4 other software RAID partitions (one per drive) using the remaining space for the RAID 10
But then what do I do about swap?
Any other comments/suggestions on this?
Is it actually possible to boot from a Linux software RAID?
Cheers, B
|
|
|
|
02-04-2010, 03:49 PM
|
#2
|
|
Senior Member
Registered: Aug 2009
Posts: 3,497
|
Have you thought about using a SATA raid card ?... then you can choose a raid format that works for you data-wise rather than worrying about cpu usage.
Yes, you can boot off software raid ( at least raid 1 that I'm aware of )
cheers
|
|
|
|
02-04-2010, 04:46 PM
|
#3
|
|
Member
Registered: Nov 2004
Location: London, UK
Distribution: CentOS, IPCop
Posts: 90
Original Poster
Rep:
|
Yeah thought about hardware RAID. We actually use a 3Ware 9690SA-8i in our file server with 8x1TB drives in a RAID 6.
But I was under the impression that RAID 5/6 need significantly more oomph than RAID 0/1/10 because of the added parity calculations.
Ideally I would go hardware RAID but the CPU in this new box is a quad-core Xeon X3360 so I think it's got more than enough grunt to handle RAID 10.
I did think I'd need to make a RAID 1 for the /boot partition then the rest of / can sit on a RAID 10.
My main question was the stability of software RAID, is it still experimental or would running a software RAID 10 be fine?
Also what do I do about the swap partition in the CentOS installer?
Cheers, B
|
|
|
|
02-04-2010, 05:38 PM
|
#4
|
|
Senior Member
Registered: Aug 2009
Posts: 3,497
|
Personally I use hardware raid every time, but lots of people use software raid and it is fairly mature.
Regarding the swap partition - I wouldn't worry too much unless you happen to be running some memory intensive applications, linux usually won't touch swap much unless it's running out of physical memory.
( when I say "dont worry", I mean about location, you do still need swap  )
Last edited by kbp; 02-04-2010 at 05:42 PM.
|
|
|
|
02-04-2010, 07:28 PM
|
#5
|
|
Guru
Registered: Aug 2004
Location: Brisbane
Distribution: Centos 6.4, Centos 5.9
Posts: 14,993
|
Just to clarify, its not that /boot has to be installed on RAID1, its just that if you want to RAID /boot, RAID1 is the only option (just in case anyone wondered).
Linux SW raid is pretty mature.
Given swap is only used as temp workspace when the kernel runs out of RAM, I probably wouldn't bother raiding it.
You might want to have 2 swap partitions (separate disks) to minimise downtime if 1st one goes bad.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:13 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|