nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Difference between Linux RAID 0, RAID 1 and RAID 5

This is a discussion on Difference between Linux RAID 0, RAID 1 and RAID 5 within the Linux software forums, part of the Linux Getting Started category; Dear members, While installing Linux it display information about RAID 0, 1 and 5. I would like to know what ...

Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Linux answers from nixCraft.


Linux software General questions and discussion about Redhat/Fedora Core/Cent OS, Debian and Ubuntu Linux related to softwares should go here.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-23-2006, 07:04 PM
Member
User
 
Join Date: Jun 2005
Posts: 78
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jerry
Default Difference between Linux RAID 0, RAID 1 and RAID 5

Dear members,

While installing Linux it display information about RAID 0, 1 and 5. I would like to know what is the different between all these RAID options.

Which one is the best and why?

regards,

JO
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-23-2006, 10:57 PM
tom tom is offline
Contributors
User
 
Join Date: Jun 2005
Location: London, UK
Posts: 213
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 5
tom is on a distinguished road
Default

RAID 0
=> Use if you want good read and write performance
=> Strips data across multiple disks
=> No Fault tolerance
=> Good for Workstation computers or application which needs fast disk I/O
=> Minimum requirement: 2 hard disk

RAID 1
=> Use for mirroring (hard disk to hard disk or partition to partition )
=> Fault tolerance
=> Use this if you want exact copies of data
=> Minimum requirement: 2 hard disks

RAID 5
=> Use for dedicated FILE/App server
=> Combination of RAID 0 and RAID 1
=> Read rate high
=> Write rate medium
=> Use this for database, Internet servers (such as web, mail etc), File server etc
=> Minimum requirement: 3 hard disks

Hope this helps. Wikipdia has nice information http://en.wikipedia.org/wiki/Redunda...ependent_disks
Reply With Quote
  #3 (permalink)  
Old 06-26-2006, 04:49 PM
Member
User
 
Join Date: Jun 2005
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
warren
Default

RAID 0:
Block striping, yields higher performance than with individual drives. There is no redundancy.
ex.
disk1 = 80G
disk2 = 100G
total space = 160G

RAID 1:
Drives are paired and mirrored. All data is 100% duplicated on an
equivalent drive. Fully redundant. total space is equal to the size of the smallest disk.
ex.
disk1 = 80G
disk2 = 100G
total space = 80G

RAID 5:
Data is striped across several physical drives. Parity protection is used
for data redundancy. Parity is stored on each disk. (in RAID 3, parity is stored in single disk). supports single disk failure.
ex.
disk1 = 80G
disk2 = 100G
disk3 = 120G
total space = 80*2=160G
Reply With Quote
  #4 (permalink)  
Old 06-26-2006, 06:48 PM
Member
User
 
Join Date: Jun 2005
Posts: 78
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jerry
Default

thanks folks.

Now, I know i need to use RAID 1 as i have only 2 disks and mirroring hard disk to hard disk will save life some day
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Setting up RAID 1 mirroring on a running remote Linux system sweta Getting started tutorials 9 09-22-2008 05:04 PM
RAID Problem asim.mcp Linux software 4 09-17-2007 05:49 PM
smartd on 3ware RAID under Linux sweta Linux hardware 1 08-10-2007 07:59 PM
Raid Monitoring vimalgoel Getting started tutorials 3 08-09-2007 05:08 PM
Installing on RAID cttw Linux software 3 10-26-2006 03:55 AM


All times are GMT +5.5. The time now is 02:07 AM.


Powered by vBulletin® Version 3.8.3 - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
©2005-2009 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36