hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Hosting : RAID 5 Vs RAID 1, what is the difference?
Reply

Web Hosting Discussions on all aspects of web hosting including past experiences (both negative and positive), choosing a host, questions and answers, and other related subjects. If your service is unavailable, please click here.
Forum Jump

RAID 5 Vs RAID 1, what is the difference?

Reply Post New Thread In Web Hosting Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 07-14-2004, 07:46 AM
blob2 blob2 is offline
Web Hosting Evangelist
 
Join Date: Aug 2002
Location: South East London
Posts: 454

RAID 5 Vs RAID 1, what is the difference?


5 x 146GB Hard Drvies in RAID 5 = 730GB? How is this configuration redundant?

2 x 146GB Hard Drives in RAID 1 = 146GB

I know this is a stupid question, I understand RAID 1 mirrors content but how does RAID 5 work and what is the total drive space?

Reply With Quote


Sponsored Links
  #2  
Old 07-14-2004, 08:54 AM
Loon Loon is offline
Community Liaison
 
Join Date: Apr 2003
Location: London, UK
Posts: 2,977
I was once wondering the same, till i found this cool guide http://www.acnc.com/raid.html

Reply With Quote
  #3  
Old 07-14-2004, 03:01 PM
Glanhosts Glanhosts is offline
Web Hosting Master
 
Join Date: Apr 2004
Posts: 816
The biggest difference is the in raid5 lost data can be build back using raid5 incase of hddcrash and that is not possilbe inraid1

Good Luck

__________________
Glanhosts We are under construction

Reply With Quote
Sponsored Links
  #4  
Old 07-14-2004, 03:07 PM
cartika-andrew cartika-andrew is offline
Web Hosting Master
 
Join Date: Oct 2003
Posts: 6,054
RAID5 stripes data across the drives to create redundancy. If a drive is lost, a new drive can be added, and the data will be re-striped across that drive (usually on the fly - especially with Hot Swap capable machines) utilizing an algorithm to formulate the missing data. The advantage of Raid 5, especially across 5 drives, is that you can lose more then 1 drive and still be up and running..

However, RAID5 is expensive -and the total usable drive space would less then 5*146 or whatever - usable drive space would really depend on the way the RAID array was setup and how the specific RAID controller operates - but, a good rule of thumb is

3 drives in RAID5 - 2/3 usable drive space
5 drives in RAID5 - 3/5 usable drive space

I havent looked at RAID5 in awhile, so - someone please correct me if I got this wrong...

Reply With Quote
  #5  
Old 07-14-2004, 04:50 PM
hiryuu hiryuu is offline
Web Hosting Master
 
Join Date: Jan 2003
Posts: 1,715
Yeah, it's wrong. RAID5 can not take a multiple drive failure. (RAID6 can, but that's rare, expensive, and I haven't looked into it much.) RAID5 capacity is that of n - 1 drives. In this example, 5 x 146 GB would yield 584 GB of usable space.

Glanhosts: Similarly, you are thinking of RAID0 (striping), but that gives you the full capacity of all drives. RAID1 can rebuild failed drives, but you have the capacity of n/2 drives, which is no small sacrifice.

__________________
Game Servers are the next hot market!
Slim margins, heavy support, fickle customers, and moronic suppliers!
Start your own today!

Reply With Quote
  #6  
Old 07-14-2004, 05:02 PM
cartika-andrew cartika-andrew is offline
Web Hosting Master
 
Join Date: Oct 2003
Posts: 6,054
Yup, youre absolutely correct...

Did some research after reading your post

http://www.pcguide.com/ref/hdd/perf/...eLevel6-c.html

RAID5 & RAID6 are often thought of and referred to as the same thing, just a different configuration..

Depending how you set up RAID5, it can tolerate the loss of 2 drives - however, this is sometimes referred to as RAID6 - but, most organizations do not utilize this terminology...

Also - RAID0 typically is not referred to as striping, but, rather mirroring..

Thanks for pointing this out though, I wasnt really aware that a "RAID6" term had been coined in this capacity - as the organizations Ive been involved with always referred to this as RAID5

Reply With Quote
  #7  
Old 07-14-2004, 05:25 PM
BigBison BigBison is offline
rogue element
 
Join Date: Jun 2004
Location: Northwest Colorado
Posts: 4,630
RAID5 is I believe slower than RAID1 as it stripes rather than mirrors. I lost two drives in RAID5 one day, but had a hot standby configured on my DPT adapter and was able to swap out the other two.

__________________
Eric J. Bowman, principal
Bison Systems Corporation coming soon: a new sig!
I'm just a poor, unfrozen caveman Webmaster. Your new 'standards' frighten, and confuse me...


Reply With Quote
  #8  
Old 07-14-2004, 05:28 PM
cartika-andrew cartika-andrew is offline
Web Hosting Master
 
Join Date: Oct 2003
Posts: 6,054
Quote:
Originally posted by BigBison
I lost two drives in RAID5 one day, but had a hot standby configured on my DPT adapter and was able to swap out the other two.

Yeah - you hit it right on there - thats the BIG difference and advantage -

Reply With Quote
  #9  
Old 07-14-2004, 06:16 PM
BigBison BigBison is offline
rogue element
 
Join Date: Jun 2004
Location: Northwest Colorado
Posts: 4,630
See, you need 3 drives to go RAID5. When the first drive fails, RAID5 brings the standby (provided you have that 4th drive) online and writes to it. The odds are slim, but now if a second drive fails you're only down to 2, which will still operate - with a massive performance hit because every read must come from the stripe set algorithm, instead of the data profile - hope that isn't too confusing. You get a further performance hit after you hot-swap the first failed drive as it rebuilds. Hot-swapping the second failed drive has no performance hit - the array is already back to 3 drives, you're just configuring the freshest drive as the new hot-standby for the array.

The larger the cache (I always prefer 16MB ECC RAM, minimum on RAID5) the less noticeable the performance hit.

The purpose of mirroring is not redundancy so much as performance. Picture a system with a single HD - can you read and write simultaneously? No. Shame, because I would bet my last nickel your OS multitasks, i.e. is capable of reading and writing at the same time. This is why you mirror - now, you're multitasking your filesystem access. This is preferred for the workstation to boost performance, but in a DC server you want robustness as well so RAID5, with as much memory as you can afford to improve performance.

When mirroring, the adapter is simply writing everything twice - once on the available drive, the second time at the system's convenience. When striping, the adapter is running an algorithm to propagate a stripe set across at least 3 drives, as well as writing the actual data to each drive.

__________________
Eric J. Bowman, principal
Bison Systems Corporation coming soon: a new sig!
I'm just a poor, unfrozen caveman Webmaster. Your new 'standards' frighten, and confuse me...


Reply With Quote
  #10  
Old 07-15-2004, 10:27 AM
blob2 blob2 is offline
Web Hosting Evangelist
 
Join Date: Aug 2002
Location: South East London
Posts: 454
So what would solution would be recommended?

Reply With Quote
  #11  
Old 07-15-2004, 03:02 PM
bilalk bilalk is offline
WHT Addict
 
Join Date: Feb 2003
Posts: 157
RAID 0 is striping.
This involves writing some of your data to one drive, and some of your data to another drive.
It is for added performance *only*, and provides no data protection whatsoever!

RAID 1 is mirroring.
All data is written to two drives, and is also read from both drives.
This gives you added performance on reads, but slows down your writes as they have to be made to both disks.

Those two types are fairly simple to understand.
They can also usually be done with a software RAID solution without taxing your CPU too much.

RAID 5 uses XOR for maximum storage space with decent reliability.
You need at least 3 disks to use it, and you end up with (n - 1) drives of storage space.
IE. If you have 5 drives in a RAID 5 array, you have 4 drives worth of space.
It gives you good read and write performance, but software-based solutions can slow down your processor and good hardware-based cards are VERY expensive.

Basically, you choose your RAID solution based on your needs.
If you're not worried about losing data and simply want the best performance you can get for a low price, go for RAID 0.
For a low-priced solution to data safety without worrying too much about performance, choose RAID 1.
If money is not an issue, get a good RAID 5 card and additional drives for both data safety and decent performance.

__________________
- Bilal Kathrada
Revolution Hosting, LLC - PHP 5 Hosting
We bring the change!
Guaranteed Lowest Price RapidSSL and GeoTrust SSL Certificate Products

Reply With Quote
  #12  
Old 07-16-2004, 03:46 AM
KDAWebServices KDAWebServices is offline
Web Hosting Master
 
Join Date: Aug 2000
Location: Sheffield, South Yorks
Posts: 3,286
If money isn't an issue, then I'd actually say go with RAID10 (Sometimes called RAID 1+) rather than RAID5. RAID5 suffers on writes, even with a good card, especially if it's 100s of writes per second of small files (For example, mail servers) - or at least in our experience it does.

__________________
Karl Austin :: KDA Web Services Ltd.
UK Business Hosting and Managed Servers - Hosting for Business Users :: 0800 5429 764
UK Budget Web Hosting and Servers - Hosting for Home Users :: 0800 8620 349
Call us today and ask about our hosting solutions.

Reply With Quote
  #13  
Old 07-16-2004, 11:08 AM
rey rey is offline
Web Hosting Master
 
Join Date: Oct 2001
Location: USA
Posts: 1,020
I second KDAWebServices.

__________________
Reyner Natahamidjaja | GIP Networks Inc
SSAE 16 SOC 1 Type II, PCI Compliant and 24/7 Dedicated Onsite Staff
Protecting Businesses Against Power Outage and Down Time


Reply With Quote
  #14  
Old 07-16-2004, 11:20 AM
BigBison BigBison is offline
rogue element
 
Join Date: Jun 2004
Location: Northwest Colorado
Posts: 4,630
Quote:
Originally posted by BigBison
When mirroring, the adapter is simply writing everything twice - once on the available drive, the second time at the system's convenience. When striping in RAID5, the adapter is running an algorithm to propagate a stripe set across at least 3 drives, as well as writing the actual data to each drive.
bold = edit

Quote:
Originally posted by blob2
...what is the total drive space?
I've always used RAID1+0 or RAID1 on workstations, because I want the performance.

I've always used RAID5 on servers, as I described above - on the off chance you suffer simultaneous drive failure, I'd prefer latency to go up rather than the system going down. Also, you get more efficient use of HD space when striping, as opposed to mirroring where you're doubling the space needed outright. Thus, adding more drives to RAID5 or adding another RAID5 array is more cost-effective in a server. Total drive space is dependent on your total drives and specific setup - you can configure four active drives with no standby as well, depends on your card, but the more drives you add the more efficient the space utilization in the array.

__________________
Eric J. Bowman, principal
Bison Systems Corporation coming soon: a new sig!
I'm just a poor, unfrozen caveman Webmaster. Your new 'standards' frighten, and confuse me...



Last edited by BigBison; 07-16-2004 at 11:25 AM.
Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Swedish Police Raid Web Host PRQ, Take Down File-Sharing and Streaming Sites Web Hosting News 2012-10-02 11:19:32
Search Warrants Used in Raid Against Megaupload Suspect Found Illegal Web Hosting News 2012-06-28 15:11:49
Microsoft Raids Hosts, Seizes Servers, Domains, Shuts Down Botnets Web Hosting News 2012-03-27 10:03:36
Web Host ServInt Overhauls Dedicated Managed Servers with New Flex Line Web Hosting News 2012-03-13 10:48:00
FBI Confiscates Servers from Swiss Web Host DigitalOne's Virginia Site Web Hosting News 2011-06-22 14:00:40


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?